5
1
I'm trying to list all applications installed that are displayed in the add/remove programs list (WinXP/Win7) via command-line. I understand that for Win7 it's called "Programs and Features" from the cp.
I've tried wmic but that only lists programs installed using MSIs. I've tried quering the registry (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall & also wow6432node).
I still can't trap Spotify (good exampe); it appears in the add/remove section but not in these locations.
Any thoughts?
-Dom
So, I am not a powershell guy, but I tried to edit your post to make it legible, and it is only slightly better. Can you please edit you post to make the code clear? Key is to indent the code with 4 spaces, and look at the preview below the editor to make sure it looks good. – Stephen Rauch – 2017-04-14T03:44:04.223
Yeah, I'm not really either, but once I found out that wmic didn't necessarily produce all programs in the programs list I scoured the internet for days looking for a code that would produce everything. If I knew it better, then I would certainly clean it up. Thanks for your input. – Adrian Nielsen – 2017-05-19T02:23:25.537