Wmic Command List
Wmic Command List
Search
Help
Tips
Dictionary
History
Forums
Contact
1. Home
2. Help
3. MS-DOS
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>
/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>]
USAGE:
/AUTHLEVEL:<authlevel>
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 '/'.
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.
BASEBOARD USAGE:
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.
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.
USAGE:
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.
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
ONBOARDDEVICE USAGE:
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.
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.
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.
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.
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.
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:
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.
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.
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.
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.
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
STARTUP USAGE:
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.
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.
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.
SYSTEMSLOT USAGE:
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).
USAGE:
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.
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.
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.
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.
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:
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>]
CLASS USAGE:
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.
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.
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:
This command would give you brief information about the operating system, as shown in the
example below.
List the printer status of each of the printers installed on the computer.
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
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.
Display the model, name, and size of the hard drives installed on the computer, as shown in the
example below.
Additional information
See our WMI definition for further information and related links on this term.
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