WMIC to list programs in add/remove programs

W

wiccachic

Hey all. Can someone post the WMIC command line syntax to display
programs in add/remove programs? A WMI script will not help, has to be
WMIC please! Thanks in advance!
 
J

Jonathan Liu [MSFT]

To simple list on the Console:

wmic product

To generate an HTML file:

wmic product get /format:hform.xsl > product.html
 
J

James Crosswell

Jonathan said:
To simple list on the Console:

wmic product

To generate an HTML file:

wmic product get /format:hform.xsl > product.html

That won't be everything in Add/Remove programs - just the stuff that
was installed using Windows Installer... but then I don't think the
later is easily obtainable via WMIC... reallly need to write a script to
loop through the registry if you want a full list.

--

Best Regards,

James Crosswell
Microforge.net LLC
http://www.microforge.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top