Hello,I have been looking for a way to get the list of all applications in add/remove programs or programs and features. The problem is that the Get-WmiObject -class Win32_Product just returns some of all applications in the list. Where does this cmdlet look at? Which cmdlet should I use to get all the installed applications?
This command will give you what is installed by using the Registry provider:
Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall |
% {Get-ItemProperty $_.PsPath} |
where {$_.Displayname -and ($_.Displayname -match ".*")} |
sort Displayname | select DisplayName, Publisher
Hello Richard, Thank you for your help. Looks like I can get most applications listed in programs and features. However, there are still a few applications that these commands does not return. One of the missing applications is "SAP Business Explorer." I see it is listed in programs and features but it is never returned by PowerShell. Is there any exception? Or was this something wrong with the application installation?
It should appear in either the list from the registry or Win32_product. Check the uninstall data to see if it has properly installed