|
Huntland Services Ltd Tel: +44 (0)1392-490518
|
List Remote Installed Products |
|||||||||||||||||||||||||||
| Back | Download The Script | |||||||||||||||||||||||||||
|
IntroductionBeing able to tell what products have been installed using the MSI installer on a particular machine can be very useful when sorting software deployment problems for end users. Common techniques for doing so include using the installer object. Unfortunately this can't be used remotely. WMI supplies the Win32_Product class which can be accessed remotely but only reports products that have been installed on a per machine basis or for the currently logged on user - in other words, not all products. This solution will list all the products installed regardless of who installed them, will resolve the owner's account name and dump the results to screen, txt, csv or xml file. It does this by collating the information from multiple registry locations taking advantage of the WMI Registry provider. To use the script the operator must have admin privileges on the target system. The script will only work if the operator's machine has MDAC and WMI installed (i.e. Win2k and above) and the target machine is currently using MSI version 2.0 or above. Usagecscript.exe ListRemoteInstalledProducts.vbs server1 server2 [C:\temp\myFile.xml] Where:
Notes: The date format defaults to Europe. For US style date formats modify the script at the beginning where commented OutputThe text output to screen or file is reduced to a subset of the total number of fields because of limitations of screen size. The xml and csv output contain all the data.
Please accept scripts as is. Any feed back will be gratefully received at Debug@huntland.co.uk
|
||||||||||||||||||||||||||||