Insight Diagnostics commands for Windows

To use the command line switches in Windows:

  1. Open the Command Prompt window.

  2. Change the directory path to c:\hp\hpdiags .

  3. Run the command hpdiags with the required switch as shown in the following examples:

    • C:\hp\hpdiags> hpdiags -t

      This command will perform a survey capture and output the resulting XML to the terminal.

    • C:\hp\hpdiags> hpdiags -s "0005**01" -c surveybase.xml -p -o \\myserver\myshare\surveycompare.txt

      This command schedules Insight Diagnostics to compare the original Survey configuration file to the current configuration after performing a fresh Survey capture, which runs every Monday at 5:00 AM, and saves the result to the specified remote file in a plain-text format.

  4. You can use the following alternate method:

    # /opt/hp/hpdiags/hpdiags -t.