Monday, June 27, 2011

List installed apps without using Powershell

Putting WMIC to Work
As often, the local WMI database contains all the information we need. The simplest way of extracting the required data is via the WMI command line, wmic:

wmic product

Yes, that is all. It runs for a while and then spits out very detailed information on what is installed on the local system. If you need the information in a file for later processing, use the following variation of above command to have wmic create a CSV file:

wmic product get /format:csv > Software_%Computername%.csv


Reference: http://www.sepago.de/helge/2010/01/14/how-to-list-all-installed-applications-from-the-command-line/

No comments: