Previous Topic

Next Topic

Querying the HPDISCOVERY file to determine the presence of a card family

IFHW and HWQUERY can perform queries based on partial name information, enabling you to verify the presence of a whole family of cards by using a partial query such as Smart Array.


ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array"

if errorlevel 1 GOTO NEXT2

.\ACU\bin\hpacuscripting.exe -i .\ArraySettings\GeneralArrayConfig.ini


Before creating a test condition, refer to the allboards.xml file to determine the correct name for the device or group of devices you want to query.

IMPORTANT: IFHW is case-sensitive. Incorrect case, misspellings, and incorrect spacing cause the query to fail.