List installed programs with PowerShell
To list the programs installed on your machine, open PowerShell, copy / paste the following command and press Enter. You will see the list of all the installed programs on your computer or server.
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize
To export the list to a text file, you can use the following command, changing the path to your desired location.
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize > C:\Users\User01\Documents\installedPrograms-PS.txt