Get Installed Programs in PowerShell
By: Cam Wohlfeil
Published: 2018-02-07 0000 EST
Category: Solutions
Tags:
powershell
This is something is something that can be done multiple ways, none of which are straightforward and all with their own drawbacks. This leads me to believe it must be some sort of legacy issue. In my experience the easiest way to do it while also ensuring you get all the info you need is to read the registry values at HKLM:\\Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\*.
# You can customize these properties as needed, these are just the ones I've had the most use for in my experience
Get-ItemProperty "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" | `
Select-Object DisplayName, DisplayVersion, Publisher, InstallDate, InstallLocation, MajorVersion, `
MinorVersion, QuietUninstallString | Format-Table
More Info: