Using Insight Diagnostics commands

Command Line Options

Command line options

Switch Description
-l LanguageCode Options are: en, fr, it, de, es, and ja. The default is en.
-v [Level] Verbosity of output where Level is an integer between 1 and 5. Level 1 is the most filtered level, 5 is the most verbose. The default value is 5.
-s ["mmhhddMMDD"] Schedule automatic execution of Insight Diagnostics. mm=minute (0-59), hh=hour (0-23), dd=day (1-31), MM=month (1-12), DD=Day of Week (0-6). All fields must be two digits ( 02 instead of 2). Use a single * for don't care fields.

[NOTE: ]

NOTE: If you use * you must quote the date/time value ( -s "0023***"). If no * are used, then the quotes are optional.



[NOTE: ]

NOTE: If not specified, the scheduled time will be every Monday at 6:00 AM. All other command-line options specified will apply to the scheduled execution. This means Insight Diagnostics may be scheduled to run in a variety of ways.


-u Remove scheduled automatic execution of Insight Diagnostics.
-c FILE1 [FILE2] Compare a survey file to the current configuration. Or, if two files are specified, compare the files.
-t Output to the terminal.

[NOTE: ]

NOTE: -t and -o cannot be used together


-p Specify output file format as plain text, instead of XML.

[NOTE: ]

NOTE: This only applies to Survey captures and comparisons. The default is XML format.


-o FILE Output to a file. Default is formed using the current date in this format: surveyCCYY-MM-DD-HH-mm-ss.xml (CC=Century,YY=Year, MM=Month, DD=Day, HH=Hour, mm=minute, ss=second).
-f Overwrite the output file if it already exists.

[NOTE: ]

NOTE: If no -o option is specified. then this option is ignored.


-a If no -o option is specified, then this option is ignored.

[NOTE: ]

NOTE: The -a option may only be used with plain text (-p).

This is because appending to XML files would result in XML parsing errors.


-rd Run a diagnosis of all diagnosable devices.

[NOTE: ]

NOTE: Results are posted to the Diagnosis Log (diagnosislog.xml).


-? , -h Display help