Wednesday, November 25, 2009

How to get installed application list using powershell

[Updated 2/18/2012]

A very sophisticated powershell script to get installed softwares is available at  http://techibee.com/powershell/powershell-script-to-query-softwares-installed-on-remote-computer/1389

If you want to see the installed applications in powershell, here you go.

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |Select DisplayName, DisplayVersion, Publisher, InstallDate, HelpLink, UninstallString

You can format output the way you want. One nice option is, using Out-Gridview cmdlet which enables to you sort, search the applications from a GUI window. Make sure that you are running powershell V2 to get cmdlet.

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |Select DisplayName, DisplayVersion, Publisher, InstallDate, HelpLink, UninstallString | Out-GridView
Source [PowerShell Blog]

0 comments:

Post a Comment