HP ProLiant SL2500 HP Scripting Toolkit 9.60 for Windows User Guide - Page 22
IFHW command-line arguments, IFHW return codes, Expression operators and terms, Description, Meaning
View all HP ProLiant SL2500 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 22 highlights
IFHW command-line arguments Command-line argument [drive:][path]hpdiscoveryfilename [drive:][path]allboards.xml IFHW return codes 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)." Value 0 1 2 Meaning The expression is true. The expression is false. The expression was not understood or an argument was invalid. IFHW command line examples Command-line argument ifhw hpdiscovery.xml allboards.xml "PCI:Smart Array 5i" Description This command returns the following error levels: • ERRORLEVEL 0 (True) if the Smart Array 5i is present • ERRORLEVEL 1 (False) if the device is not present • ERRORLEVEL 2 (Error) if the expression could not be understood Expression operators and terms Operator or term and or gt lt gte lte eq neq not PCI: Result True if both operands are true True if either operand is true True if the first operand is greater than the second True if the first operand is less than the second True if the first operand is greater than or equal to the second True if the first operand is less than or equal to the second True if the two operands are equal True if the two operands are not equal True if the operand is false True if a PCI device whose name includes is found in the hardware discovery file. is case-sensitive. 22 Scripting Toolkit utilities