HP Integrity rx2800 Smart Setup Scripting Toolkit Administrator's Guide 4.0 - Page 56
hwquery, Synopsis, Description, Options, Examples, hwdisc.dat, allboards.xml
View all HP Integrity rx2800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 56 highlights
hwquery Synopsis hwquery hwdisc.dat allboards.xml [query]... Description The hwquery utility is executed from a script file, in conjunction with other utilities, to control the install process. The hwquery utility uses data from the hardware discovery file in your own scripts. The hwquery utility cannot alter environment variables directly. To set the variable, the hosting script must use the output of hwquery. Typically, the script writes the output to an intermediate script file that is subsequently called by the hosting script. The hwquery utility returns a string to standard output in the following format: set variable=XML tag value You can redirect the output to a batch script to set the variable value. Options hwdisc.dat allboards.xml query Specifies the hardware discovery XML output file. Specifies the file that contains descriptions of all supported PCI devices. Specifies the query to perform on the hardware discovery file in the following format: variable=string Where: string is case sensitive, and matches either a tag in the hardware discovery output file or a description of a PCI device in the allboards.xml file. If string contains spaces, enclose the string in quotation marks. Examples y:\utilities>hwquery y:\data_files\hwdisc.dat allboards.xml ARRAY_CTRL="Smart Array" set ARRAY_CTRL=Smart Array 6402 Controller [A9890A] 56 Utilities reference