Reputation: 1
Is there a way to get the list of installed applications from Regestry without interacting with the PC directly via WMI?
I have a promoted to RW user on a Domain Controller and a bunch of PCs. I want to write an automation PS-script which will grab strings from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Upvotes: 0
Views: 2271
Reputation: 9133
You can use the WMI:
Get-WmiObject win32_product
But not recommended to use that cause it's broken. You should use the registry approach only like:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize
Upvotes: 1