0% found this document useful (0 votes)
785 views31 pages

Wmic Command List

The wmic command allows users to query WMI entries from the command line. It is available in Windows XP and later. The wmic syntax uses global switches like /NAMESPACE and /ROLE followed by a command. Common commands include ASSOC, CALL, CREATE, DELETE, GET, LIST, and SET. These commands can be used with various WMI classes to manage devices, components and settings.

Uploaded by

josean
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
785 views31 pages

Wmic Command List

The wmic command allows users to query WMI entries from the command line. It is available in Windows XP and later. The wmic syntax uses global switches like /NAMESPACE and /ROLE followed by a command. Common commands include ASSOC, CALL, CREATE, DELETE, GET, LIST, and SET. These commands can be used with various WMI classes to manage devices, components and settings.

Uploaded by

josean
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

Skip to Main Content

Search

 Help
 Tips
 Dictionary
 History
 Forums
 Contact

1. Home
2. Help
3. MS-DOS

Windows wmic command line command


Updated: 06/30/2017 by Computer Hope

 About wmic
 Availability
 Wmic syntax
 Wmic examples

About wmic
Short for WMI console, wmic is a command line command to query WMI entries.

Availability
The wmic command is an external command that is available in the below Microsoft operating
systems as wmic.exe.

Windows XP professional
Windows 2003
Windows Vista
Windows 7
Windows 8
Windows 10

Wmic syntax
[global switches] <command>

The following global switches are available:

NAMESPACE - Path for the namespace the alias is to operate against.


Namespaces are always relative i.e. if the namespace does not begin with a '\\'
it will be assumed to be relative to the current namespace.
/NAMESPACE
USAGE:

/NAMESPACE:<namespace>
ROLE - Path for the role containing the alias definitions to be available for the
utility session.

USAGE:
/ROLE
/ROLE:<namespace>
NOTE: Roles are actually namespaces and should be treated in the same way -
i.e. relative paths should behave appropriately (default namespace is
'\\root\cli').
NODE - Specify what servers the alias will operate against.

USAGE:
/NODE
/NODE:<machine id list>
NOTE: <machine id list> ::= <@filename | machine id> | <@filename |
machine id> <,machine id list>
/IMPLEVEL IMPLEVEL - Determine what level the command line should impersonate.
Default is 'Impersonate'.

USAGE:

/IMPLEVEL:<implevel>[/AUTHORITY:<authority type>]

Various implevels are as follows:


Impersonation Level
------------------
Anonymous
Identify
Impersonate
Delegate

Note: Use /AUTHORITY switch for specifying the authority type.


AUTHLEVEL - Specify the level the command line should authenticate.
Default is 'Pktprivacy'.

USAGE:

/AUTHLEVEL:<authlevel>

Various authlevels are as follows:


/AUTHLEVEL Authlevel
---------
Default
None
Connect
Call
Pkt
Pktintegrity
Pktprivacy
LOCALE - Specify the language id the command line should use.

USAGE:
/LOCALE
/LOCALE:<locale identifier>
NOTE: The parameter to the 'LOCALE' switch is of the form MS_XXX.
Where XXX for English is 409, XXX for Finnish is 40b.
PRIVILEGES - Enable or disable all privileges.

USAGE:
/PRIVILEGES
/PRIVILEGES:<option>
NOTE: Allowed value(s) for <option> is either ENABLE or DISABLE.
TRACE - Specify whether output debug information is to be copied to stderr
during the processing of the request(s).

/TRACE USAGE:

/TRACE:<option>
NOTE: Allowed value(s) for <option> is either ON or OFF.
RECORD - Logs all entered commands and WMIC's output to a file in XML
format.
/RECORD
USAGE:

/RECORD:<filepath>
INTERACTIVE - Sets or resets the interactive mode.

USAGE:
/INTERACTIVE
/INTERACTIVE:<option>
NOTE: Allowed value(s) for <option> is either ON or OFF.
FAILFAST - Sets or resets the FailFast mode.

USAGE:
/FAILFAST
/FAILFAST:<option>
NOTE: Allowed value(s) for <option> is either ON or OFF.
USER - Provides the user to be used during the session.

USAGE:
/USER
/USER:<userid>
NOTE: User should be provided in the form <domain>\<user>.
PASSWORD - Provides the password to be used in logging on to this session.

/PASSWORD USAGE:

/PASSWORD:<password>
OUTPUT - Specifies the mode for output redirection.

USAGE:

/OUTPUT /OUTPUT:<outputspec>
NOTE: <outputspec> ::= (STDOUT | CLIPBOARD | <filename>)
STDOUT - Output will be redirected to the STDOUT.
CLIPBOARD - Output will be copied on to CLIPBOARD.
< filename> - Output will be written to the specified file.
APPEND - Specifies the mode for output redirection.

USAGE:

/APPEND /APPEND:<outputspec>
NOTE: <outputspec> ::= (STDOUT | CLIPBOARD | <filename>)
STDOUT - Output will be redirected to the STDOUT.
CLIPBOARD - Output will be copied on to CLIPBOARD.
< filename> - Output will be appended to the specified file.
AGGREGATE - Determines the mode of displaying results.

USAGE:
/AGGREGATE
/AGGREGATE:<option>.
NOTE: Allowed value(s) for <option> is either ON or OFF.
AUTHORITY - Specifies the <authority type> for the connection.

/AUTHORITY USAGE:

/AUTHORITY:<authority type>
/? - Displays specification/syntax for help commands.

USAGE:
/?
/?:[<helpType>]
NOTE: Allowed value(s) for <helpType> is either BRIEF or FULL.

NOTE: Enclose the switch value in double quotes, if the value contains special characters like '-'
or '/'.

The following alias/es are available in the current role:

Access to the aliases available on the local system.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
ALIAS
ALIAS ASSOC [<format specifier>]
ALIAS CALL <method name> [<actual param list>]
ALIAS CREATE <assign list>
ALIAS DELETE
ALIAS GET [<property list>] [<get switches>]
ALIAS LIST [<list format>] [<list switches>]
Base board (also known as a motherboard or system board)
management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

BASEBOARD USAGE:

BASEBOARD ASSOC [<format specifier>]


BASEBOARD CREATE <assign list>
BASEBOARD DELETE
BASEBOARD GET [<property list>] [<get switches>]
BASEBOARD LIST [<list format>] [<list switches>]
Basic input/output services (BIOS) management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
BIOS
BIOS ASSOC [<format specifier>]
BIOS CREATE <assign list>
BIOS DELETE
BIOS GET [<property list>] [<get switches>]
BIOS LIST [<list format>] [<list switches>]
Boot configuration management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
BOOTCONFIG
BOOTCONFIG ASSOC [<format specifier>]
BOOTCONFIG CREATE <assign list>
BOOTCONFIG DELETE
BOOTCONFIG GET [<property list>] [<get switches>]
BOOTCONFIG LIST [<list format>] [<list switches>]
CD-ROM management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
CDROM
USAGE:

CDROM ASSOC [<format specifier>]


CDROM CREATE <assign list>
CDROM DELETE
CDROM GET [<property list>] [<get switches>]
CDROM LIST [<list format>] [<list switches>]
Computer system management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:

COMPUTERSYSTEM COMPUTERSYSTEM ASSOC [<format specifier>]


COMPUTERSYSTEM CALL <method name> [<actual param
list>]
COMPUTERSYSTEM CREATE <assign list>
COMPUTERSYSTEM DELETE
COMPUTERSYSTEM GET [<property list>] [<get switches>]
COMPUTERSYSTEM LIST [<list format>] [<list switches>]
COMPUTERSYSTEM SET [<assign list>]
CPU management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
CPU
CPU ASSOC [<format specifier>]
CPU CREATE <assign list>
CPU DELETE
CPU GET [<property list>] [<get switches>]
CPU LIST [<list format>] [<list switches>]
Computer system product information from SMBIOS.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
CSProduct
CSProduct ASSOC [<format specifier>]
CSProduct CREATE <assign list>
CSProduct DELETE
CSProduct GET [<property list>] [<get switches>]
CSProduct LIST [<list format>] [<list switches>]
DataFile Management.
DATAFILE
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path
where>) [<verb clause>].

USAGE:

DATAFILE ASSOC [<format specifier>]


DATAFILE CALL <method name> [<actual param list>]
DATAFILE CREATE <assign list>
DATAFILE DELETE
DATAFILE GET [<property list>] [<get switches>]
DATAFILE LIST [<list format>] [<list switches>]
DCOM Application management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
DCOMAPP
DCOMAPP ASSOC [<format specifier>]
DCOMAPP CREATE <assign list>
DCOMAPP DELETE
DCOMAPP GET [<property list>] [<get switches>]
DCOMAPP LIST [<list format>] [<list switches>]
User's Desktop management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
DESKTOP
DESKTOP ASSOC [<format specifier>]
DESKTOP CREATE <assign list>
DESKTOP DELETE
DESKTOP GET [<property list>] [<get switches>]
DESKTOP LIST [<list format>] [<list switches>]
Desktop Monitor management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
DESKTOPMONITOR
DESKTOPMONITOR ASSOC [<format specifier>]
DESKTOPMONITOR CREATE <assign list>
DESKTOPMONITOR DELETE
DESKTOPMONITOR GET [<property list>] [<get switches>]
DESKTOPMONITOR LIST [<list format>] [<list switches>]
Device memory addresses management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
DEVICEMEMORYADDRESS
DEVICEMEMORYADDRESS ASSOC [<format specifier>]
DEVICEMEMORYADDRESS CREATE <assign list>
DEVICEMEMORYADDRESS DELETE
DEVICEMEMORYADDRESS GET [<property list>] [<get
switches>]
DEVICEMEMORYADDRESS LIST [<list format>] [<list
switches>]
Physical disk drive management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
DISKDRIVE
DISKDRIVE ASSOC [<format specifier>]
DISKDRIVE CREATE <assign list>
DISKDRIVE DELETE
DISKDRIVE GET [<property list>] [<get switches>]
DISKDRIVE LIST [<list format>] [<list switches>]
Disk space usage for NTFS volumes.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
DISKQUOTA
DISKQUOTA ASSOC [<format specifier>]
DISKQUOTA CREATE <assign list>
DISKQUOTA DELETE
DISKQUOTA GET [<property list>] [<get switches>]
DISKQUOTA LIST [<list format>] [<list switches>]
DISKQUOTA SET [<assign list>]
Direct memory access (DMA) channel management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


DMACHANNEL where>) [<verb clause>].

USAGE:
DMACHANNEL ASSOC [<format specifier>]
DMACHANNEL CREATE <assign list>
DMACHANNEL DELETE
DMACHANNEL GET [<property list>] [<get switches>]
DMACHANNEL LIST [<list format>] [<list switches>]
System environment settings management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
ENVIRONMENT
ENVIRONMENT ASSOC [<format specifier>]
ENVIRONMENT CREATE <assign list>
ENVIRONMENT DELETE
ENVIRONMENT GET [<property list>] [<get switches>]
ENVIRONMENT LIST [<list format>] [<list switches>]
ENVIRONMENT SET [<assign list>]
Filesystem directory entry management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
FSDIR
FSDIR ASSOC [<format specifier>]
FSDIR CALL <method name> [<actual param list>]
FSDIR CREATE <assign list>
FSDIR DELETE
FSDIR GET [<property list>] [<get switches>]
FSDIR LIST [<list format>] [<list switches>]
Group account management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
GROUP
GROUP ASSOC [<format specifier>]
GROUP CALL <method name> [<actual param list>]
GROUP CREATE <assign list>
GROUP DELETE
GROUP GET [<property list>] [<get switches>]
GROUP LIST [<list format>] [<list switches>]
IDECONTROLLER IDE Controller management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path
where>) [<verb clause>].

USAGE:

IDECONTROLLER ASSOC [<format specifier>]


IDECONTROLLER CREATE <assign list>
IDECONTROLLER DELETE
IDECONTROLLER GET [<property list>] [<get switches>]
IDECONTROLLER LIST [<list format>] [<list switches>]
Interrupt request line (IRQ) management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
IRQ
IRQ ASSOC [<format specifier>]
IRQ CREATE <assign list>
IRQ DELETE
IRQ GET [<property list>] [<get switches>]
IRQ LIST [<list format>] [<list switches>]
Provides access to the jobs scheduled using the schedule
service.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
JOB
JOB ASSOC [<format specifier>]
JOB CALL <method name> [<actual param list>]
JOB CREATE <assign list>
JOB DELETE
JOB GET [<property list>] [<get switches>]
JOB LIST [<list format>] [<list switches>]
Management of system services that define execution
dependencies.

LOADORDER - Management of system services that define


LOADORDER execution dependencies.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
USAGE:

LOADORDER ASSOC [<format specifier>]


LOADORDER CREATE <assign list>
LOADORDER DELETE
LOADORDER GET [<property list>] [<get switches>]
LOADORDER LIST [<list format>] [<list switches>]
Local storage device management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
LOGICALDISK
LOGICALDISK ASSOC [<format specifier>]
LOGICALDISK CALL <method name> [<actual param list>]
LOGICALDISK CREATE <assign list>
LOGICALDISK DELETE
LOGICALDISK GET [<property list>] [<get switches>]
LOGICALDISK LIST [<list format>] [<list switches>]
LOGICALDISK SET [<assign list>]
LOGON Sessions.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
LOGON
LOGON ASSOC [<format specifier>]
LOGON CREATE <assign list>
LOGON DELETE
LOGON GET [<property list>] [<get switches>]
LOGON LIST [<list format>] [<list switches>]
Cache memory management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
MEMCACHE
MEMCACHE ASSOC [<format specifier>]
MEMCACHE CREATE <assign list>
MEMCACHE DELETE
MEMCACHE GET [<property list>] [<get switches>]
MEMCACHE LIST [<list format>] [<list switches>]
Memory chip information.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
MEMORYCHIP
MEMORYCHIP ASSOC [<format specifier>]
MEMORYCHIP CREATE <assign list>
MEMORYCHIP DELETE
MEMORYCHIP GET [<property list>] [<get switches>]
MEMORYCHIP LIST [<list format>] [<list switches>]
Computer system's physical memory management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
MEMPHYSICAL
MEMPHYSICAL ASSOC [<format specifier>]
MEMPHYSICAL CREATE <assign list>
MEMPHYSICAL DELETE
MEMPHYSICAL GET [<property list>] [<get switches>]
MEMPHYSICAL LIST [<list format>] [<list switches>]
Network Client management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NETCLIENT
NETCLIENT ASSOC [<format specifier>]
NETCLIENT CREATE <assign list>
NETCLIENT DELETE
NETCLIENT GET [<property list>] [<get switches>]
NETCLIENT LIST [<list format>] [<list switches>]
Network login information (of a particular user) management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
NETLOGIN
USAGE:

NETLOGIN ASSOC [<format specifier>]


NETLOGIN CREATE <assign list>
NETLOGIN DELETE
NETLOGIN GET [<property list>] [<get switches>]
NETLOGIN LIST [<list format>] [<list switches>]
Protocols (and their network characteristics) management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NETPROTOCOL
NETPROTOCOL ASSOC [<format specifier>]
NETPROTOCOL CREATE <assign list>
NETPROTOCOL DELETE
NETPROTOCOL GET [<property list>] [<get switches>]
NETPROTOCOL LIST [<list format>] [<list switches>]
Active network connection management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NETUSE
NETUSE ASSOC [<format specifier>]
NETUSE CREATE <assign list>
NETUSE DELETE
NETUSE GET [<property list>] [<get switches>]
NETUSE LIST [<list format>] [<list switches>]
Network Interface Controller (NIC) management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NIC
NIC ASSOC [<format specifier>]
NIC CREATE <assign list>
NIC DELETE
NIC GET [<property list>] [<get switches>]
NIC LIST [<list format>] [<list switches>]
Network adapter management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


NICCONFIG where>) [<verb clause>].

USAGE:
NICCONFIG ASSOC [<format specifier>]
NICCONFIG CALL <method name> [<actual param list>]
NICCONFIG CREATE <assign list>
NICCONFIG DELETE
NICCONFIG GET [<property list>] [<get switches>]
NICCONFIG LIST [<list format>] [<list switches>]
NT Domain management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NTDOMAIN
NTDOMAIN ASSOC [<format specifier>]
NTDOMAIN CREATE <assign list>
NTDOMAIN DELETE
NTDOMAIN GET [<property list>] [<get switches>]
NTDOMAIN LIST [<list format>] [<list switches>]
NTDOMAIN SET [<assign list>]
Entries in the NT Event Log.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NTEVENT
NTEVENT ASSOC [<format specifier>]
NTEVENT CREATE <assign list>
NTEVENT DELETE
NTEVENT GET [<property list>] [<get switches>]
NTEVENT LIST [<list format>] [<list switches>]
NT eventlog file management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
NTEVENTLOG
NTEVENTLOG ASSOC [<format specifier>]
NTEVENTLOG CALL <method name> [<actual param list>]
NTEVENTLOG CREATE <assign list>
NTEVENTLOG DELETE
NTEVENTLOG GET [<property list>] [<get switches>]
NTEVENTLOG LIST [<list format>] [<list switches>]
NTEVENTLOG SET [<assign list>]
Management of common adapter devices built into the
motherboard (system board).

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

ONBOARDDEVICE USAGE:

ONBOARDDEVICE ASSOC [<format specifier>]


ONBOARDDEVICE CREATE <assign list>
ONBOARDDEVICE DELETE
ONBOARDDEVICE GET [<property list>] [<get switches>]
ONBOARDDEVICE LIST [<list format>] [<list switches>]
Installed Operating System/s management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
OS
OS ASSOC [<format specifier>]
OS CALL <method name> [<actual param list>]
OS CREATE <assign list>
OS DELETE
OS GET [<property list>] [<get switches>]
OS LIST [<list format>] [<list switches>]
OS SET [<assign list>]
Virtual memory file swapping management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
PAGEFILE
PAGEFILE ASSOC [<format specifier>]
PAGEFILE CREATE <assign list>
PAGEFILE DELETE
PAGEFILE GET [<property list>] [<get switches>]
PAGEFILE LIST [<list format>] [<list switches>]
Page file settings management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


PAGEFILESET where>) [<verb clause>].

USAGE:
PAGEFILESET ASSOC [<format specifier>]
PAGEFILESET CREATE <assign list>
PAGEFILESET DELETE
PAGEFILESET GET [<property list>] [<get switches>]
PAGEFILESET LIST [<list format>] [<list switches>]
PAGEFILESET SET [<assign list>]
Management of partitioned areas of a physical disk.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
PARTITION
PARTITION ASSOC [<format specifier>]
PARTITION CREATE <assign list>
PARTITION DELETE
PARTITION GET [<property list>] [<get switches>]
PARTITION LIST [<list format>] [<list switches>]
I/O port management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
PORT
PORT ASSOC [<format specifier>]
PORT CREATE <assign list>
PORT DELETE
PORT GET [<property list>] [<get switches>]
PORT LIST [<list format>] [<list switches>]
Physical connection ports management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
PORTCONNECTOR
PORTCONNECTOR ASSOC [<format specifier>]
PORTCONNECTOR CREATE <assign list>
PORTCONNECTOR DELETE
PORTCONNECTOR GET [<property list>] [<get switches>]
PORTCONNECTOR LIST [<list format>] [<list switches>]
Printer device management.
PRINTER
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path
where>) [<verb clause>].

USAGE:

PRINTER ASSOC [<format specifier>]


PRINTER CALL <method name> [<actual param list>]
PRINTER CREATE <assign list>
PRINTER DELETE
PRINTER GET [<property list>] [<get switches>]
PRINTER LIST [<list format>] [<list switches>]
PRINTER SET [<assign list>]
Printer device configuration management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
PRINTERCONFIG
PRINTERCONFIG ASSOC [<format specifier>]
PRINTERCONFIG CREATE <assign list>
PRINTERCONFIG DELETE
PRINTERCONFIG GET [<property list>] [<get switches>]
PRINTERCONFIG LIST [<list format>] [<list switches>]
Print job management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
PRINTJOB
PRINTJOB ASSOC [<format specifier>]
PRINTJOB CALL <method name> [<actual param list>]
PRINTJOB CREATE <assign list>
PRINTJOB DELETE
PRINTJOB GET [<property list>] [<get switches>]
PRINTJOB LIST [<list format>] [<list switches>]
Process management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
PROCESS
USAGE:

PROCESS ASSOC [<format specifier>]


PROCESS CALL <method name> [<actual param list>]
PROCESS CREATE <assign list>
PROCESS DELETE
PROCESS GET [<property list>] [<get switches>]
PROCESS LIST [<list format>] [<list switches>]
Installation package task management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
Product
Product ASSOC [<format specifier>]
Product CALL <method name> [<actual param list>]
Product CREATE <assign list>
Product DELETE
Product GET [<property list>] [<get switches>]
Product LIST [<list format>] [<list switches>]
Quick Fix Engineering.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
QFE
QFE ASSOC [<format specifier>]
QFE CREATE <assign list>
QFE DELETE
QFE GET [<property list>] [<get switches>]
QFE LIST [<list format>] [<list switches>]
Setting information for disk quotas on a volume.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
QUOTASETTING
QUOTASETTING ASSOC [<format specifier>]
QUOTASETTING CREATE <assign list>
QUOTASETTING DELETE
QUOTASETTING GET [<property list>] [<get switches>]
QUOTASETTING LIST [<list format>] [<list switches>]
QUOTASETTING SET [<assign list>]
Remote Desktop connection permission management.
RDACCOUNT
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path
where>) [<verb clause>].
USAGE:

RDACCOUNT ASSOC [<format specifier>]


RDACCOUNT CALL <method name> [<actual param list>]
RDACCOUNT CREATE <assign list>
RDACCOUNT DELETE
RDACCOUNT GET [<property list>] [<get switches>]
RDACCOUNT LIST [<list format>] [<list switches>]
Remote Desktop connection management on a specific network
adapter.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
RDNIC
RDNIC ASSOC [<format specifier>]
RDNIC CALL <method name> [<actual param list>]
RDNIC CREATE <assign list>
RDNIC DELETE
RDNIC GET [<property list>] [<get switches>]
RDNIC LIST [<list format>] [<list switches>]
RDNIC SET [<assign list>]
Permissions to a specific Remote Desktop connection.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
RDPERMISSIONS
RDPERMISSIONS ASSOC [<format specifier>]
RDPERMISSIONS CALL <method name> [<actual param
list>]
RDPERMISSIONS CREATE <assign list>
RDPERMISSIONS DELETE
RDPERMISSIONS GET [<property list>] [<get switches>]
RDPERMISSIONS LIST [<list format>] [<list switches>]
Turning Remote Desktop listener on or off remotely.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
RDTOGGLE
USAGE:

RDTOGGLE ASSOC [<format specifier>]


RDTOGGLE CALL <method name> [<actual param list>]
RDTOGGLE CREATE <assign list>
RDTOGGLE DELETE
RDTOGGLE GET [<property list>] [<get switches>]
RDTOGGLE LIST [<list format>] [<list switches>]
Information that will be gathered from memory when the
operating system fails.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
RECOVEROS
RECOVEROS ASSOC [<format specifier>]
RECOVEROS CREATE <assign list>
RECOVEROS DELETE
RECOVEROS GET [<property list>] [<get switches>]
RECOVEROS LIST [<list format>] [<list switches>]
RECOVEROS SET [<assign list>]
Computer system Registry management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
REGISTRY
REGISTRY ASSOC [<format specifier>]
REGISTRY CREATE <assign list>
REGISTRY DELETE
REGISTRY GET [<property list>] [<get switches>]
REGISTRY LIST [<list format>] [<list switches>]
REGISTRY SET [<assign list>]
SCSI Controller management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SCSICONTROLLER
SCSICONTROLLER ASSOC [<format specifier>]
SCSICONTROLLER CALL <method name> [<actual param
list>]
SCSICONTROLLER CREATE <assign list>
SCSICONTROLLER DELETE
SCSICONTROLLER GET [<property list>] [<get switches>]
SCSICONTROLLER LIST [<list format>] [<list switches>]
Server information management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SERVER
SERVER ASSOC [<format specifier>]
SERVER CREATE <assign list>
SERVER DELETE
SERVER GET [<property list>] [<get switches>]
SERVER LIST [<list format>] [<list switches>]
Service application management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SERVICE
SERVICE ASSOC [<format specifier>]
SERVICE CALL <method name> [<actual param list>]
SERVICE CREATE <assign list>
SERVICE DELETE
SERVICE GET [<property list>] [<get switches>]
SERVICE LIST [<list format>] [<list switches>]
Shadow copy management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SHADOWCOPY
SHADOWCOPY ASSOC [<format specifier>]
SHADOWCOPY CALL <method name> [<actual param list>]
SHADOWCOPY CREATE <assign list>
SHADOWCOPY DELETE
SHADOWCOPY GET [<property list>] [<get switches>]
SHADOWCOPY LIST [<list format>] [<list switches>]
Shadow copy storage area management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
SHADOWSTORAGE
USAGE:

SHADOWSTORAGE ASSOC [<format specifier>]


SHADOWSTORAGE CALL <method name> [<actual param
list>]
SHADOWSTORAGE CREATE <assign list>
SHADOWSTORAGE DELETE
SHADOWSTORAGE GET [<property list>] [<get switches>]
SHADOWSTORAGE LIST [<list format>] [<list switches>]
SHADOWSTORAGE SET [<assign list>]
Shared resource management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SHARE
SHARE ASSOC [<format specifier>]
SHARE CALL <method name> [<actual param list>]
SHARE CREATE <assign list>
SHARE DELETE
SHARE GET [<property list>] [<get switches>]
SHARE LIST [<list format>] [<list switches>]
Management of the elements of a software product installed on
a system.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SOFTWAREELEMENT
SOFTWAREELEMENT ASSOC [<format specifier>]
SOFTWAREELEMENT CREATE <assign list>
SOFTWAREELEMENT DELETE
SOFTWAREELEMENT GET [<property list>] [<get
switches>]
SOFTWAREELEMENT LIST [<list format>] [<list switches>]
Management of software product subsets of SoftwareElement.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SOFTWAREFEATURE
SOFTWAREFEATURE ASSOC [<format specifier>]
SOFTWAREFEATURE CALL <method name> [<actual param
list>]
SOFTWAREFEATURE CREATE <assign list>
SOFTWAREFEATURE DELETE
SOFTWAREFEATURE GET [<property list>] [<get switches>]
SOFTWAREFEATURE LIST [<list format>] [<list switches>]
Sound Device management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SOUNDDEV
SOUNDDEV ASSOC [<format specifier>]
SOUNDDEV CREATE <assign list>
SOUNDDEV DELETE
SOUNDDEV GET [<property list>] [<get switches>]
SOUNDDEV LIST [<list format>] [<list switches>]
Management of commands that run automatically when users
log onto the computer system.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

STARTUP USAGE:

STARTUP ASSOC [<format specifier>]


STARTUP CREATE <assign list>
STARTUP DELETE
STARTUP GET [<property list>] [<get switches>]
STARTUP LIST [<list format>] [<list switches>]
System account management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SYSACCOUNT
SYSACCOUNT ASSOC [<format specifier>]
SYSACCOUNT CREATE <assign list>
SYSACCOUNT DELETE
SYSACCOUNT GET [<property list>] [<get switches>]
SYSACCOUNT LIST [<list format>] [<list switches>]
Management of the system driver for a base service.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


SYSDRIVER
where>) [<verb clause>].

USAGE:
SYSDRIVER ASSOC [<format specifier>]
SYSDRIVER CALL <method name> [<actual param list>]
SYSDRIVER CREATE <assign list>
SYSDRIVER DELETE
SYSDRIVER GET [<property list>] [<get switches>]
SYSDRIVER LIST [<list format>] [<list switches>]
Physical system enclosure management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
SYSTEMENCLOSURE
SYSTEMENCLOSURE ASSOC [<format specifier>]
SYSTEMENCLOSURE CREATE <assign list>
SYSTEMENCLOSURE DELETE
SYSTEMENCLOSURE GET [<property list>] [<get switches>]
SYSTEMENCLOSURE LIST [<list format>] [<list switches>]
Management of physical connection points including ports,
slots, and peripherals, and proprietary connections points.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

SYSTEMSLOT USAGE:

SYSTEMSLOT ASSOC [<format specifier>]


SYSTEMSLOT CREATE <assign list>
SYSTEMSLOT DELETE
SYSTEMSLOT GET [<property list>] [<get switches>]
SYSTEMSLOT LIST [<list format>] [<list switches>]
Tape drive management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
TAPEDRIVE
TAPEDRIVE ASSOC [<format specifier>]
TAPEDRIVE CREATE <assign list>
TAPEDRIVE DELETE
TAPEDRIVE GET [<property list>] [<get switches>]
TAPEDRIVE LIST [<list format>] [<list switches>]
TEMPERATURE Data management of a temperature sensor (electronic
thermometer).

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:

TEMPERATURE ASSOC [<format specifier>]


TEMPERATURE CREATE <assign list>
TEMPERATURE DELETE
TEMPERATURE GET [<property list>] [<get switches>]
TEMPERATURE LIST [<list format>] [<list switches>]
Time zone data management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
TIMEZONE
TIMEZONE ASSOC [<format specifier>]
TIMEZONE CREATE <assign list>
TIMEZONE DELETE
TIMEZONE GET [<property list>] [<get switches>]
TIMEZONE LIST [<list format>] [<list switches>]
Uninterruptible power supply (UPS) management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
UPS
UPS ASSOC [<format specifier>]
UPS CREATE <assign list>
UPS DELETE
UPS GET [<property list>] [<get switches>]
UPS LIST [<list format>] [<list switches>]
User account management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].
USERACCOUNT
USAGE:

USERACCOUNT ASSOC [<format specifier>]


USERACCOUNT CALL <method name> [<actual param list>]
USERACCOUNT CREATE <assign list>
USERACCOUNT DELETE
USERACCOUNT GET [<property list>] [<get switches>]
USERACCOUNT LIST [<list format>] [<list switches>]
USERACCOUNT SET [<assign list>]
Voltage sensor (electronic voltmeter) data management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
VOLTAGE
VOLTAGE ASSOC [<format specifier>]
VOLTAGE CREATE <assign list>
VOLTAGE DELETE
VOLTAGE GET [<property list>] [<get switches>]
VOLTAGE LIST [<list format>] [<list switches>]
Local storage volume management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
VOLUME
VOLUME ASSOC [<format specifier>]
VOLUME CALL <method name> [<actual param list>]
VOLUME CREATE <assign list>
VOLUME DELETE
VOLUME GET [<property list>] [<get switches>]
VOLUME LIST [<list format>] [<list switches>]
VOLUME SET [<assign list>]
Associates the disk quota setting with a specific disk volume.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
VOLUMEQUOTASETTING
VOLUMEQUOTASETTING ASSOC [<format specifier>]
VOLUMEQUOTASETTING CREATE <assign list>
VOLUMEQUOTASETTING DELETE
VOLUMEQUOTASETTING GET [<property list>] [<get
switches>]
VOLUMEQUOTASETTING LIST [<list format>] [<list
switches>]
VOLUMEUSERQUOTA Per user storage volume quota management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path
where>) [<verb clause>].

USAGE:

VOLUMEUSERQUOTA ASSOC [<format specifier>]


VOLUMEUSERQUOTA CREATE <assign list>
VOLUMEUSERQUOTA DELETE
VOLUMEUSERQUOTA GET [<property list>] [<get
switches>]
VOLUMEUSERQUOTA LIST [<list format>] [<list switches>]
VOLUMEUSERQUOTA SET [<assign list>]
WMI service operational parameters management.

(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path


where>) [<verb clause>].

USAGE:
WMISET
WMISET ASSOC [<format specifier>]
WMISET CREATE <assign list>
WMISET DELETE
WMISET GET [<property list>] [<get switches>]
WMISET LIST [<list format>] [<list switches>]
WMISET SET [<assign list>]

For more information on a specific alias, type: alias /?

Escapes to full WMI schema.

CLASS USAGE:

CLASS <class path expr> [<standardverb> [<verb switches>]]


Escapes to full WMI object paths.

USAGE:
PATH
PATH (<path expr> | (<class path expr> [WHERE <where clause>])) [<verb
clause>]
CONTEXT Displays the state of all the global switches.
QUIT/EXIT Exits the program.

For more information on CLASS/PATH/CONTEXT, type: (CLASS | PATH | CONTEXT) /?


Wmic examples
Tip: To run the wmic command you must have administrative rights.

wmic

Running wmic alone takes you to the wmic:root\cli> prompt. Within this prompt type /? to get
help at any time or <alias> /? to get additional help with that alias. To quit from the wmic prompt
type quit or exit.

wmic logicaldisk get name

Display each of the logical disk drives on the computer, as shown below. If you wanted to see all
the options for this command, including name, type: wmic logicaldisk get /?

Name
C:
D:
E:

wmic os list brief

This command would give you brief information about the operating system, as shown in the
example below.

BuildNumber Organization RegisteredUser SerialNumber SystemDirectory Version


Computer 00123-045-
7601 Mrhope C:\Windows\system32 6.1.7601
Hope 6789012-34567

wmic printer list status

List the printer status of each of the printers installed on the computer.

WMIC /Output:bios.html BIOS Get Manufacturer,Name,Version /Format:htable

The above command is a little may appear involved, but is still relatively simple. First the
/Output: is outputting the commands output to the bios.html file, which will be saved into the
directory you're currently in. Next, the wmic BIOS get command will get the Manufacturer,
Name, Serial Number, and Version of the BIOS. Finally, the /format:htable will format the
results into an HTML table. Below, is an example of how the output may appear in the bios.html
file.

1 Instances of Win32_BIOS

Node Manufacturer Name SerialNumber Version


HOPE-PC DELL INC.. Default System BIOS. 123AB12. DELL - 20081105.

wmic product list brief

List each of the programs that have been installed on the computer with brief details. Note: This
command could take a minute or two to complete depending on how many programs you have
installed on the computer and may exceed the limit of what can show in the window. This
command can also be made into an HTML table as explained in the previous example.

wmic diskdrive get model,name,size

Display the model, name, and size of the hard drives installed on the computer, as shown in the
example below.

Model Name Size


WDC WD3000HLFS-75G6U1 ATA Device \\.\PHYSICALDRIVE0 300066439680
TRUSTED Mass Storage USB Device \\.\PHYSICALDRIVE1 2199020382720

Additional information

 See our WMI definition for further information and related links on this term.

 Was this page useful?YesNo



o Feedback
o E-mail
o Share
o Print

Search


1. Recently added pages
2. Windows msg command line command help
3. How to verify the checksum of an installer file
4. How to create a custom sort in Microsoft Excel
5. What is a Spreadsheet?
6. Atlassian company and contact information
7. View all recent updates

1. Useful links
2. About Computer Hope
3. Site Map
4. Forum
5. Contact Us
6. How to Help
7. Top 10 pages

1. Follow us
2. Facebook
3. Twitter
4. Google+
5. Pinterest
6. YouTube
7. RSS

© 2017 Computer Hope


Legal Disclaimer - Privacy Statement

You might also like