SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Windows Server 2003 and Windows Server 2008 for Itanium-based Systems

hwdiscovery
Synopsis
hwdiscovery [-v | --version] [-f filename]
Description
The hwdiscovery utility captures the hardware configuration of a target machine and saves it
to an XML file. Captured information includes the following:
System Name
Serial Number
Asset Tag
EFI Firmware version
BMC Firmware version
MP Firmware version
Number of Cells
Total RAM size
Number of Processors
PCI devices present in the system
Depending on the system type (Mid-range and high end, Blade, or Virtual Machine), additional
information is captured. For PCI devices, hwdiscovery captures the following device path and
ID information:
Bus
Device
Function
Device ID
Device Sub ID
NOTE: Segment or domain information is not necessary on Windows. All PCI devices use
Segment=0.
You can use the ifhw and hwquery utilities to perform queries on the hwdiscovery output.
This enables you to create conditional scripts for the Windows installation process.
Options
-f filename
Specifies the output file name. If you do not specify a file name, the default
is hwdisc.dat.
-v | --version
Displays the utility version.
Example
A sample hwdisc.dat output file is as follows:
<!-- generated by hwdiscovery Windows for IPF version 1.01 -->
<HWDiscovery version=1.01>
<ServerInformation>
<SystemName>Server rx2660</SystemName>
<SerialNumber>US43880166</SerialNumber>
<AssetTag>abcdef<AssetTag>
<EFIFw>5.48</EFIFw>
<BMCFw>04.03</BMCFw>
<MPFw>E.03.30</MPFw>
<Cells>0</Cells>
<VMHostIPAddress></VMHostIPAddress>
hwdiscovery 63