PowerShell: List of Installed Programs on Windows Computers

Get the 32bit Applications:

  • Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize

 

Get the 64bit Applications

  • Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize

 

Export the results to text file:

32bit Applications:

  • Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize > C:\TF\Installed32bitPrograms-Desktop.txt

 

64bit Applications:

  • Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize > C:\TF\Installed64bitPrograms-Desktop.txt

 

Compare From One Machine to another:

  • Compare-Object -ReferenceObject (Get-Content C:\TF\Installed32bitPrograms-Desktop.txt) -DifferenceObject (Get-Content C:\TF\Installed32bitPrograms-Laptop.txt)