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 set to 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: If you use * you must quote the date/time value ( -s "0023***"). If no * are used the quotes are optional. 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: -t and -o cannot be used together |
||||
-p | Specify output file format as plain text, instead of XML. 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). If a survey compare is being performed the default filename is the same as above except "surveycompareCCYY-....". NOTE: -t and -o cannot be used together |
||||
-f | Overwrite the output file if it already exists. NOTE: If no -o option is specified this option is ignored. |
||||
-a | Append the output file if it already exists.
|
||||
-rd | Run a diagnosis of all diagnosable devices. NOTE: Results are posted to the Diagnosis Log (diagnosislog.xml). |
||||
-? , -h | Display help |
To use the command line switches in Windows:
C:\hp\hpdiags> hpdiags -t
C:\hp\hpdiags> hpdiags -s "0005**01" -c surveybase.xml -p -o \\myserver\myshare\surveycompare.txt