TechNet
Export (0) Print
Expand All
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Collapse the table of content
Expand the table of content
Expand Minimize

Wmic

 

Updated: April 17, 2012

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

Displays WMI information inside an interactive command shell.

For examples of how to use this command, see Examples.

command </parameter>

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.

Parameter

Description

</parameter>

<Concise description, starts with a verb.>

</param2>

<Another concise description, starts with a verb.>

To display the current values of all global switches, type:

wmic context

Output similar to the following displays:

NAMESPACE    : root\cimv2
ROLE         : root\cli
NODE(S)      : BOBENTERPRISE
IMPLEVEL     : IMPERSONATE
[AUTHORITY   : N/A]
AUTHLEVEL    : PKTPRIVACY
LOCALE       : ms_409
PRIVILEGES   : ENABLE
TRACE        : OFF
RECORD       : N/A
INTERACTIVE  : OFF
FAILFAST     : OFF
OUTPUT       : STDOUT
APPEND       : STDOUT
USER         : N/A
AGGREGATE    : ON

To change the language ID used by the command line to English (locale ID 409), type:

wmic /locale:ms_409
Show:
© 2016 Microsoft