SMS Inventory Tool for HP ProLiant and Integrity Update User Guide

Using the hpSMSTool utility
Uninstalling the inventory tool does not remove HP specific SMS database and WMI elements installed by
the setup wizard. The hpSMSTool utility removes these elements and refreshes the data collection
processes of the sync tool and the scan tool. The
-reset command can be used if problems are
encountered during the initial installation.
IMPORTANT: The hpSMSTool utility requires Windows® Script Host 5.6 or later.
To use the hpSMSTool utility without reinstalling the inventory tool:
1. Disable the HP Updates advertisement for the HP Updates package and the HP Updates program.
2. Disable the HP Updates Sync advertisement for the HP Updates package and the HP Updates Sync
program.
3. Execute the tool from the command line using the -reset command.
4. Run hpSync.exe from the command line at %Program Files%"\SMS Inventory Tool for HP
Updates"\PkgSource with no options.
5. Enable the advertisements disabled in steps 1 and 2.
To use the hpSMSTool utility before reinstalling the inventory tool:
1. Remove the inventory tool using the Add/Remove Programs feature in the Control Panel.
2. Execute the tool from the command line using the -reset command.
3. Reinstall the inventory tool.
hpSmsTool.cmd command [target_client | database_name database_server] [or]
cscript //nologo hpSmsTool.vbs command [target_client | database_name
database_server]
The following command line options are available:
Command Environment Description
-lsUpdates
The command must be run on an
SMS site server.
This command lists all the HP Software Updates on the
SMS site server. The list is obtained from WMI
namespace /root/SMS/site_<site code> for WMI class
instances of SMS_ApplicableUpdatesSummaryEx.
-lsStateAll
The command must be run on an
SMS site server.
The command lists all the patch states from the SMS site
server. This command performs the following tasks:
Looks to HP Servers from WMI namespace
/root/SMS/site_<site code> for WMI class
instances of SMS_G_System_COMPUTER_SYSTEM
Directs each target server to list every patch state
from the WMI namespace /root/CIMV2 for WMI
class instances of Win32_PatchState_Extended
The list includes the following information:
TargetName
Status
Title
Type
Product
ProductID
UpdateID
Advanced topics 57