A Description of the Windows Management Instrumentation (WMI) Command-Line Utility (Wmic.exe)
This article was previously published under Q290216 SUMMARY 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. MORE INFORMATION 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:
http://msdn2.microsoft.com/en-us/library/aa394582.aspx (http://msdn2.microsoft.com/en-us/library/aa394582.aspx) APPLIES TO
|