Damn, I’m going to miss this show so flippin’ much.
How to retrieve a list of installed programs in Windows via WMIC
This is an old tip but I thought I’d document it in case it’s useful to someone. Sometimes when troubleshooting an issue, it’s nice to quickly know exactly what is installed on a Windows-based system (including version numbers). The following procedure is a step in the right direction.
- Create an empty text file somewhere on the system and make note of the path (for example, let’s say c:\temp\applist.txt).
- Open the windows command prompt
- Type wmic
- Type /output:c:\temp\applist.txt product get name,version,installlocation
- Close wmic by typing exit
Done!
Additional notes:
- This will only list software that’s installed by the Windows Installer, not other third-party installers.
- There are a variety of additional options for the command including: installdate2, installstate, etc.
The IT Helpdesk Wheel of Responses.
I can’t be the only one who’s experienced this frustration….
