Auditing Installed Applications Remotely

PowerShell script to help determine the GUID of the applications installed on PCs or servers. This way we may easily create uninstallers if needed through PDQDeploy.

This script will get all x64 applications on station77
Invoke-command -cn station77 -scriptblock {Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall* | Select-Object DisplayName, UninstallString | FT }

This script will get all x86 applications on station77
Invoke-command -cn station77 -scriptblock {Get-ItemProperty HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall* | Select-Object DisplayName, UninstallString | Sort-Object DisplayName | FT }

 

The same commands below will filter what you are looking for if you want.

Invoke-command -cn station77 -scriptblock {Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall* | Where -Property DisplayName -Match logmein | Select-Object DisplayName, UninstallString | FT -Wrap }

 

Invoke-command -cn Station77 -ScriptBlock {Get-ItemProperty HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall* | Where -Property DisplayName -Match Office | Select-Object DisplayName, UninstallString | FT -wrap }