Knowledge base

Asset 32

Use PowerShell to create a list of installed programs

Posted on 1 June 2024 by Beaming Support

The following commands will help you to use PowerShell to create a list of installed programs.

Run the following command within a new PowerShell command

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

PowerShell will now list all of the programs installed on that machine, date it was installed publisher and version.

You can also add the output command ‘>’ to output to a file using a .txt file like so:

Get-ItemProperty -Path HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, Publisher, InstallDate, DisplayVersion | Format-Table –AutoSize > C:InstalledPrograms.txt

Replace the directory above with your own.

This can be extremely useful if auditing machines or making sure programs are not missed when doing a fresh install of a new OS.

 

More like this