We've used the following command found at this link to try and get a complete listing of installed programs in Windows:
Get-WmiObject -Class Win32_Product
However, this gives an incomplete listing of installed programs when compared with the list of installed programs in the Control panel.
Our original intention is to have a script that can interactively and eventually automatically uninstall bloatware installed on a computer. However, the command above misses a handful that we'd like to have uninstalled as well.
Is there another Class we can look into in order to get the complete listing? Or is there another command altogether that we can use?
Any insight is appreciated