Tuesday, September 3, 2024

How to get a list of installed programs on a Windows PC

Powershell 

get-package -ProviderName Programs,msi | export-csv c:\temp\InstalledApps.csv

Command line

wmic product get name,version

Export from Windows registry


  
## List 32bit installed programs

$regPath = 

'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'

Get-ItemProperty -Path $regPath |

Select-Object DisplayName, DisplayVersion, Publisher, InstallDate

## List 64bit installed programs

$regPath = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'

Get-ItemProperty -Path $regPath |

Select-Object DisplayName, DisplayVersion, Publisher, InstallDate