Returns a list of software that was installed on a computer using Windows Installer. This information is then written to a text file.

This script was tested using Kixtart 2001 (412) for Microsoft Windows, available from Kixtart.org.

Kixtart
Edit|Remove
$strComputer = "."
$objWMIService = GetObject("winmgmts:\\"+ $strComputer + "\root\cimv2")
$colItems = $objWMIService.ExecQuery("Select * from Win32_Product")
For Each $objItem in $colItems
    ? "Caption:" + $objItem.Caption
    ? "Description:" + $objItem.Description
    ? "Identifying Number:" + $objItem.IdentifyingNumber
    ? "Install Date:" + $objItem.InstallDate
    ? "Install Date 2:" + $objItem.InstallDate2
    ? "Install Location:" + $objItem.InstallLocation
    ? "Install State:" + $objItem.InstallState
    ? "Name:" + $objItem.Name
    ? "Package Cache:" + $objItem.PackageCache
    ? "SKU Number:" + $objItem.SKUNumber
    ? "Vendor:" + $objItem.Vendor
    ? "Version:" + $objItem.Version
Next