Wmic |
Applies To: Windows Server 2008 R2,Windows Server 2008,Windows Vista,Windows 7
Displays WMI information inside an interactive command shell.
For examples of how to use this command, see Examples.
Syntax
|
|
command </parameter> |
Sub-commands
The following sub-commands are available at all times:
Sub-command |
Description |
class |
Escapes from the default alias mode of WMIC to access classes in the WMI schema directly. |
path |
Escapes from the default alias mode of WMIC to access instances in the WMI schema directly. |
context |
Displays the current values of all global switches. |
[quit | exit] |
Exits the WMIC command shell. |
Parameters
Parameter |
Description |
</parameter> |
<Concise description, starts with a verb.> |
</param2> |
<Another concise description, starts with a verb.> |
Remarks
Scripting
Examples
To display the current values of all global switches, type:
|
|
wmic context |
Output similar to the following displays:
|
|
NAMESPACE : root\cimv2 |
To change the language ID used by the command line to English (locale ID 409), type:
|
|
wmic /locale:ms_409 |