Article ID: 290216 - View products that this article applies to.
This article was previously published under Q290216
The versions of Windows that are listed at the beginning of this article include a command-line utility (Wmic.exe) to access Windows Management Instrumentation (WMI). Previously, an end user would generally write a script to gather information by means of WMI. Wmic.exe can only be used by the local system administrators regardless of WMI namespace permissions on the local machine.
When you run the Wmic.exe utility for the first time, the utility compiles its .mof files into the repository. To save time during Windows installation, this operation takes place as necessary.
At a command prompt, type: wmic, and an interactive-mode prompt "wmic:root\cli" is displayed. For help, type: /?.
Some examples of commands are:
Article ID: 290216 - Last Review: December 3, 2007 - Revision: 6.5
Contact us for more help
Connect with Answer Desk for expert help.