Hpdiscovery Return Codes; Hpdiscovery Command Line Examples; Using Ifhw; Ifhw Command-Line Syntax - HP ProLiant DL320e User Manual

Hp scripting toolkit 9.30 for windows user guide
Hide thumbs Also See for ProLiant DL320e:
Table of Contents

Advertisement

HPDISCOVERY return codes

Value
0
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.
Command line argument
hpdiscovery /f x:\hpdiscovery.xml
hpdiscovery /p plugin storage.dll
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

Command-line argument
[drive:][path]hpdiscoveryfilename
[drive:][path]allboards.xml
<expression>

IFHW return codes

Value
0
1
2
Meaning
The expression is true.
The expression is false.
The expression was not understood or an argument was invalid.
Meaning
The command was completed successfully. A usage
message might appear.
An error has occurred. See error message for details.
Description
This command generates the hpdiscovery.xml file in the
x:\ location.
This command only loads and executes the storage plug-in.
This command generates the hpdiscovery.xml file in the
current directory.
Description
This argument specifies the hardware discovery file used
to run the query.
This argument specifies the allboards.xml PCI device list
file, which is used to convert PCI IDs found in hardware
discovery into device names, such as "Smart Array 5i
Controller."
This argument specifies the query expression. See
"Expression operators and terms
(page
22)."
Using IFHW
21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents