Hpdiscovery return codes, Hpdiscovery command line examples, Using ifhw – HP ProLiant DL380 Server User Manual
Page 28: Ifhw command-line syntax, Ifhw command-line arguments

Description
Command-line argument
filename is not in the current directory, then the full path
must be specified.
This argument chooses the name and location of the output
file. If the user does not pass in this parameter, then the
/f
default filename will be hpdiscovery.xml, and it will be
saved in the current directory.
HPDISCOVERY return codes
Meaning
Value
The command was completed successfully. A usage
message might appear.
0
An error has occurred. See error message for details.
1..255
HPDISCOVERY command line examples
NOTE:
Before running HPDISCOVERY, you must install WMI. For more information on installing
extra packages in Windows PE, see the Windows PE documentation.
Description
Command line argument
This command generates the hpdiscovery.xml file in the
x:\ location.
hpdiscovery /f x:\hpdiscovery.xml
This command only loads and executes the storage plug-in.
hpdiscovery /p plugin storage.dll
This command generates the hpdiscovery.xml file in the
current directory.
hpdiscovery
Using IFHW
IFHW is used from a script file, in conjunction with other utilities, to control the deployment. The
IFHW utility enables you to make intelligent queries against the hardware discovery file. Queries
take the form of a logical expression, and the result of the expression is returned as the return code
of the tool, which the hosting script can use to conditionally perform actions.
IFHW command-line syntax
ifhw [drive:][path]hpdiscoveryfilename
[drive:][path]allboards.xml <expression>
IFHW command-line arguments
Description
Command-line argument
This argument specifies the hardware discovery file used
to run the query.
[drive:][path]hpdiscoveryfilename
This argument specifies the allboards.xml PCI device list
file, which is used to convert PCI IDs found in hardware
[drive:][path]allboards.xml
discovery into device names, such as "Smart Array 5i
Controller."
This argument specifies the query expression. See
"Expression operators and terms (
)."
28
Toolkit utilities
- ProLiant BL465c Server Blade ProLiant BL2x220c G7 Server-Blade ProLiant DL120 G7 Server ProLiant SL250s Gen8 Server ProLiant BL680c G5 Server-Blade ProLiant DL320s Server ProLiant SL230s Gen8 Server ProLiant BL2x220c G6 Server-Blade ProLiant BL480c Server-Blade ProLiant DL385 Server ProLiant BL2x220c G5 Server-Blade Intelligent Provisioning ProLiant BL490c G6 Server-Blade ProLiant BL620c G7 Server-Blade ProLiant DL365 G5 Server ProLiant ML330 G6 Server ProLiant BL490c G7 Server-Blade ProLiant DL360p Gen8 Server ProLiant SL335s G7 Server ProLiant DL320 Server ProLiant BL495c G5 Server-Blade ProLiant BL460c Gen8 Server Blade ProLiant DL360 Server ProLiant BL280c G6 Server-Blade ProLiant ML350p Gen8 Server ProLiant DL585 Server ProLiant ML370 Server ProLiant DL380p Gen8 Server ProLiant SL390s G7 Server ProLiant BL460c Server-Blade ProLiant ML310 G5 Server ProLiant BL680c G7 Server-Blade ProLiant BL260c G5 Server-Blade ProLiant BL495c G6 Server-Blade ProLiant DL160 Gen8 Server ProLiant ML350 Server ProLiant DL370 G6 Server ProLiant BL685c Server-Blade ProLiant DL785 G6 Server ProLiant DL785 G5 Server