Getting the same data appwiz.cpl gets in powershell
-
Wednesday, February 13, 2013 8:33 AM
Hi!
When i do
Get-wmiobject -class win32_product
I get a list of installed programs. but i dont get ALL installed programs since i see some more in appwiz.cpl
How do i do a powershell query that shows everything that appwiz.cpl does?
All Replies
-
Wednesday, February 13, 2013 10:26 AM
You could have a look in the registry:
Get-ChildItem HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
Jaap Brasser
http://www.jaapbrasser.com -
Wednesday, February 13, 2013 12:08 PM
Jaap, that would only display the 32 bit applications on af 64-bit machine.
You would want both the 32-bit and 64-bit applications of the machine
$app32 = Get-ChildItem HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ $app64 = Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ $appAll = $app32 + $app64 $appAll | % { $_.name }However that would most of the time just give you a GUID, instead of a pretty name.
Best Regards
Claus Codam
Consultant, Developer
Coretech - Blog- Edited by Claus Codam Wednesday, February 13, 2013 12:14 PM script error
- Marked As Answer by IamMredMicrosoft Employee, Owner Tuesday, March 05, 2013 3:33 AM
-
Wednesday, February 13, 2013 2:20 PMModerator
- Proposed As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Thursday, February 14, 2013 7:48 PM

