Product manual
GFI LanGuard 13 Utilities | 226
Switch Description
/ShutdownIntervalStart (Optional) Dependent on /Shutdown. The start time of the interval when shutdown is
allowed. Use hh:mm:ss format.
/ShutdownIntervalEnd (Optional) Dependent on /Shutdown. The end time of the interval when shutdown is
allowed. Use hh:mm:ss format.
/ShutDownInInterval (Optional) Shutdown the computer after deployment if deployment completes in the
specified time interval. Otherwise wait to specify the interval manually.
/? (Optional) Use this switch to show the command line tool’s usage instructions.
Example
1. Deploy a file called ‘patchA001002.XXX’.
2. On target computer ‘TMJohnDoe’.
3. Reboot the target computer after successful deployment of the file.
The command should be as follows::
deploycmd TMJohnDoe /file=”patchA001002.XXX” /reboot
13.9.3 Using impex.exe
The Impex tool is a command line tool that can be used to Import and Export profiles and
vulnerabilities from GFI LanGuard Network Security Scanner. The parameters supported by this tool
are the following:
impex [[/H] | [/?]] | [/XML:xmlfile [/DB:dbfile] [[/EX] [/MERGE]] | [/IM
[/ONLYNEWER]] [/PROFILES | /VULNS | /PORTS | /PROFILE:name | /VULNCAT:cat
[/VULN:name] | /PORTTYPE:type [/PORT:number]] [/SKIP | /OVERWRITE |
/RENAME:value]]
impex command switches
Switch Description
/H
/?
Run impex without
parameters
Displays help information.
/XML:<xmlfile> This parameter specifies the name of the imported or exported XML file. <xmlfile> needs to be
replaced with the name of the file the profile is being exported to.
Note
This parameter is mandatory to import or export alerts.
/DB:<dbfile> Where <dbfile> is the database file to be used during the import/export operation. If this is not
specified the default "operationsprofiles.mdb" file will be used.
/EX Exports data from database to XML file (Default option)
/MERGE If this is specified when the target XML for export already exists, the file will be opened and
data will be merged; otherwise the XML file is first deleted.
/IM Imports data from XML file to database
/ONLYNEWER When specified only vulnerabilities newer than the newest vulnerability in the database will
be imported.
/PROFILES Exports/Imports all scanning profiles.
/VULNS Exports/Imports all vulnerabilities.
/PORTS Exports/Imports all ports
/PROFILE:<name> Exports/Imports the specified scanning profile.
Table 88: impex command switches










