The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: shankle on January 29, 2012, 01:13:35 PM

Title: WMIC in Windows command line
Post by: shankle on January 29, 2012, 01:13:35 PM
Has anyone used or heard of this Windows feature?
Would like to find out more about it and how it would be useful to me
and for what.
Title: Re: WMIC in Windows command line
Post by: dedndave on January 29, 2012, 01:29:35 PM
it can do all kinds of things
it may save you from having to write WMI code, which is a bit of a nightmare   :P

http://www.masm32.com/board/index.php?topic=14250.0

i am pretty sure that MSDN has a page for it, as well
try google'ing "msdn wmic"
Title: Re: WMIC in Windows command line
Post by: shankle on January 29, 2012, 02:56:53 PM
Thanks Dave for  responding.
Will have to do my homework on this one.
Brand new to me.
Title: Re: WMIC in Windows command line
Post by: bozo on January 30, 2012, 12:22:43 AM
I've used it occasionally at work for listing inventory of remote machine such as printers or application list, services.
Because it's using WMI interfaces, I normally access these through VBScript.

WMIC doesn't offer access to every WMI class, but most are available.
Depends on what you need to do.