Monday, January 19, 2009

list the applications installed with the Windows Installer (MSI)

[] to list the applications installed with the Windows Installer, esp. those hidden from appwiz.cpl, in a summary

PS> Get-WmiObject -Class Win32_Product -ComputerName .

IdentifyingNumber : {95120000-00B9-0409-0000-0000000FF1CE}
Name : Microsoft Application Error Reporting
Vendor : Microsoft Corporation
Version : 12.0.6012.5000 <--- SQL Server 2008 component
Caption : Microsoft Application Error Reporting


[] to list the applications installed with the Windows Installer, esp. those hidden from appwiz.cpl, in detail

PS> Get-WmiObject -Class Win32_Product -ComputerName . | fl -Property *

Extra information are InstallDate, PackageCache etc.


[] to list the applications installed with the Windows Installer, esp. those hidden from appwiz.cpl, in specified properties

PS> Get-WmiObject -Class Win32_Product -ComputerName . | fl -Property Name,InstallDate,InstallLocation,PackageCache,Vendor

Name : Microsoft Application Error Reporting
InstallDate : 20081130
InstallLocation :
PackageCache : C:\LINDOWS\Installer\583d7.msi
Vendor : Microsoft Corporation


[] to find only the names of installed applications using Windows Installer

PS> Get-WmiObject -Class Win32_Product -ComputerName . | fw -Column 1

MSXML4 Parser
Microsoft Application Error Reporting
Microsoft .NET Framework 3.0 Service Pack 2
Microsoft .NET Framework 3.5 SP1
Windows PowerShell(TM) V2 (CTP2)
Microsoft Office Access 2003 Runtime
Microsoft .NET Framework 2.0 Service Pack 2

No comments:

Post a Comment