Windows Management Instrumentation (WMI) - (Windows 10, 8.1, 8, 7, Vista)

Shortcut: Go to the WMI table containing the links

Windows Management Instrumentation (WMI)
Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems.

You will find it provides a treasure trove of information regarding your system's hardware configuration and information, Windows OS information and installed software.



Each of the 71 WMI commands is numbered and listed below in the table. Please note that not all will return data, i.e., some are antiquated; others are not found on your system, e.g., "tapedrive" and therefore will return a value of "zero (0) instances" (HTML output) or in the case of text file output - no information (blank Notepad).

I decided to provide two means of output - HTML and TEXT. I did this because it has been my experience with hundreds of thousands of Sysnative BSOD File Collection App (which does contain a few WMI commands, including one HTML output for RAM info) output files, that some systems for whatever reason cannot generate the HTML output, but can generate the Text output. For example, it is not uncommon for me to find the RAM HTML output to be zero (empty). That same system is usually always able to generate the same WMI command - text output. The HTML output is much easier to read than the text output.

The last two columns contain two links each - one for batch script download; the other for a sample of the output. Try both - see which one you prefer.

After downloading and depending on browser settings, you'll have options to RUN the batch script; SAVE the batch script, or CANCEL.

Go to Download + Execution Information/Instructions



WINDOWS MANAGEMENT INSTRUMENTATION (WMI)




WMI Basic Command
WMI Command Description
Batch File Download
for HTML File Output
+HTML File Example
Batch File Download
for Text File Output
+ Text File Example
1.
wmic baseboard

Mobo Info​

Download wmic baseboard HTML Output batch file


View wmic baseboard HTML Output Example File

Download wmic baseboard Text Output batch file


View wmic baseboard Text Output Example File
2.
wmic bios

BIOS Info​

Download wmic bios HTML Output batch file


View wmic bios HTML Output Example File

Download wmic bios Text Output batch file


View wmic bios Text Output Example File
3.
wmic bootconfig

Boot Configuration Info​

Download wmic bootconfig HTML Output batch file


View wmic bootconfig HTML Output Example File

Download wmic bootconfig Text Output batch file


View wmic bootconfig Text Output Example File
4.
wmic cdrom

DVD/CD Drive Info including Hardware ID​

Download wmic cdrom HTML Output batch file


View wmic cdrom HTML Output Example File

Download wmic cdrom Text Output batch file


View wmic cdrom Text Output Example File
5.
wmic computersystem

System info including detailed specifics such as OEMStringArray, if applicable​

Download wmic computersystem HTML Output batch file


View wmic computersystem HTML Output Example File

Download wmic computersystem Text Output batch file


View wmic computersystem Text Output Example File
6.
wmic cpu

CPU info​

Download wmic cpu HTML Output batch file


View wmic cpu HTML Output Example File

Download wmic cpu Text Output batch file


View wmic cpu Text Output Example File
7.
wmic csproduct

System Info including Identifying Number, Desc, UUID​

Download wmic csproduct HTML Output batch file


View wmic csproduct HTML Output Example File

Download wmic csproduct Text Output batch file


View wmic csproduct Text Output Example File
8.
wmic dcomapp

DCOM Applications​

Download wmic dcomapp HTML Output batch file


View wmic dcomapp HTML Output Example File

Download wmic dcomapp Text Output batch file


View wmic dcomapp Text Output Example File
9.
wmic desktop

Desktop info including border width, curser blink rate, font, wallpaper -- by user name​

Download wmic desktop HTML Output batch file


View wmic desktop HTML Output Example File

Download wmic desktop Text Output batch file


View wmic desktop Text Output Example File
10.
wmic desktopmonitor

Monitor info including PNPDeviceID​

Download wmic desktopmonitor HTML Output batch file


View wmic desktopmonitor HTML Output Example File

Download wmic desktopmonitor Text Output batch file


View wmic desktopmonitor Text Output Example File
11.
wmic devicememoryaddress

Memory addresses and memory type​

Download wmic devicememoryaddress HTML Output batch file


View wmic devicememoryaddress HTML Output Example File

Download wmic devicememoryaddress Text Output batch file


View wmic devicememoryaddress Text Output Example File
12.
wmic diskdrive

Detailed info on internal HDD including PNPDeviceID, cylinders, heads, sectors, tracks​

Download wmic diskdrive HTML Output batch file


View wmic diskdrive HTML Output Example File

Download wmic diskdrive Text Output batch file


View wmic diskdrive Text Output Example File
13.
wmic diskquota

Disk space quote by user, if applicable​

Download wmic diskquota HTML Output batch file


View wmic diskquota HTML Output Example File

Download wmic diskquota Text Output batch file


View wmic diskquota Text Output Example File
14.
wmic dmachannel

DMA Channel​

Download wmic dmachannel HTML Output batch file


View wmic dmachannel HTML Output Example File

Download wmic dmachannel Text Output batch file


View wmic dmachannel Text Output Example File
15.
wmic environment

Win32 Environment​

Download wmic environment HTML Output batch file


View wmic environment HTML Output Example File

Download wmic environment Text Output batch file


View wmic environment Text Output Example File
16.
wmic group

Group names + corresponding SIDs along with descriptions.
Find out what those "mysterious" groups are like "Event Log Readers"​

Download wmic group HTML Output batch file


View wmic group HTML Output Example File

Download wmic group Text Output batch file


View wmic group Text Output Example File
17.
wmic idecontroller

Controller info, including IDE, SATA, AHCI​

Download wmic idecontroller HTML Output batch file


View wmic idecontroller HTML Output Example File

Download wmic idecontroller Text Output batch file


View wmic idecontroller Text Output Example File
18.
wmic irq

IRQ Info​

Download wmic irq HTML Output batch file


View wmic irq HTML Output Example File

Download wmic irq Text Output batch file


View wmic irq Text Output Example File
19.
wmic job

Job info​

Download wmic job HTML Output batch file


View wmic job HTML Output Example File

Download wmic job Text Output batch file


View wmic job Text Output Example File
20.
wmic loadorder

Loading order of device drivers during boot-up​

Download wmic loadorder HTML Output batch file


View wmic loadorder HTML Output Example File

Download wmic loadorder Text Output batch file


View wmic loadorder Text Output Example File
21.
wmic logicaldisk

Information on all drives - internal HDD/SSD, DVD, CD, Virtual​

Download wmic logicaldisk HTML Output batch file


View wmic logicaldisk HTML Output Example File

Download wmic logicaldisk Text Output batch file


View wmic logicaldisk Text Output Example File
22.
wmic logon

Logon session, Authentication Package. Logon ID & start time​

Download wmic logon HTML Output batch file


View wmic logon HTML Output Example File

Download wmic logon Text Output batch file


View wmic logon Text Output Example File
23.
wmic memcache

Memory cache info (if available)​

Download wmic memcache HTML Output batch file


View wmic memcache HTML Output Example File

Download wmic memcache Text Output batch file


View wmic memcache Text Output Example File
24.
wmic memorychip

Detailed RAM Info​

Download wmic memorychip HTML Output batch file


View wmic memorychip HTML Output Example File

Download wmic memorychip Text Output batch file


View wmic memorychip Text Output Example File
25.
wmic memphysical

System Physical Memory Array, including max RAM capacity​

Download wmic memphysical HTML Output batch file


View wmic memphysical HTML Output Example File

Download wmic memphysical Text Output batch file


View wmic memphysical Text Output Example File
26.
wmic netclient

Lanman Workstation status​

Download wmic netclient HTML Output batch file


View wmic netclient HTML Output Example File

Download wmic netclient Text Output batch file


View wmic netclient Text Output Example File
27.
wmic netprotocol

Detailed info - Win32 Network Protocol​

Download wmic netprotocol HTML Output batch file


View wmic netprotocol HTML Output Example File

Download wmic netprotocol Text Output batch file


View wmic netprotocol Text Output Example File
28.
wmic netuse

Network Usage, if available​

Download wmic netuse HTML Output batch file


View wmic netuse HTML Output Example File

Download wmic netuse Text Output batch file


View wmic netuse Text Output Example File
29.
wmic nic

Detailed info - Network Adapters​

Download wmic nic HTML Output batch file


View wmic nic HTML Output Example File

Download wmic nic Text Output batch file


View wmic nic Text Output Example File
30.
wmic nicconfig

Network Adapter Configuration - detailed info​

Download wmic nicconfig HTML Output batch file


View wmic nicconfig HTML Output Example File

Download wmic nicconfig Text Output batch file


View wmic nicconfig Text Output Example File
31.
wmic ntdomain

Win32 NT Domain​

Download wmic ntdomain HTML Output batch file


View wmic ntdomain HTML Output Example File

Download wmic ntdomain Text Output batch file


View wmic ntdomain Text Output Example File
32.
wmic onboarddevice

On-board device info (if available)​

Download wmic onboarddevice HTML Output batch file


View wmic onboarddevice HTML Output Example File

Download wmic onboarddevice Text Output batch file


View wmic onboarddevice Text Output Example File
33.
wmic os

Extremely detailed info on every aspect of your system​

Download wmic os HTML Output batch file


View wmic os HTML Output Example File

Download wmic os Text Output batch file


View wmic os Text Output Example File
34.
wmic pagefile

Obtain info on page file, including allocated base size; current + peak virtual memory usage​

Download wmic pagefile HTML Output batch file


View wmic pagefile HTML Output Example File

Download wmic pagefile Text Output batch file


View wmic pagefile Text Output Example File
35.
wmic pagefileset

SystemInfo​

Download wmic pagefileset HTML Output batch file


View wmic pagefileset HTML Output Example File

Download wmic pagefileset Text Output batch file


View wmic pagefileset Text Output Example File
36.
wmic partition

Hard drive partition info​

Download wmic partition HTML Output batch file


View wmic partition HTML Output Example File

Download wmic partition Text Output batch file


View wmic partition Text Output Example File
37.
wmic port

Port information​

Download wmic port HTML Output batch file


View wmic port HTML Output Example File

Download wmic port Text Output batch file


View wmic port Text Output Example File
38.
wmic portconnector

Physical connection ports management info​

Download wmic portconnector HTML Output batch file


View wmic portconnector HTML Output Example File

Download wmic portconnector Text Output batch file


View wmic portconnector Text Output Example File
39.
wmic printer

Printer information​

Download wmic printer HTML Output batch file


View wmic printer HTML Output Example File

Download wmic printer Text Output batch file


View wmic printer Text Output Example File
40.
wmic printerconfig

Printer device configuration info​

Download wmic printerconfig HTML Output batch file


View wmic printerconfig HTML Output Example File

Download wmic printerconfig Text Output batch file


View wmic printerconfig Text Output Example File
41.
wmic printerjob

Printer job info​

Download wmic printerjob HTML Output batch file


View wmic printerjob HTML Output Example File

Download wmic printerjob Text Output batch file


View wmic printerjob Text Output Example File
42.
wmic process

Info on current running processes​

Download wmic process HTML Output batch file


View wmic process HTML Output Example File

Download wmic process Text Output batch file


View wmic process Text Output Example File
43.
wmic product

SystemInfo​

Download wmic product HTML Output batch file


View wmic product HTML Output Example File

Download wmic product Text Output batch file


View wmic product Text Output Example File
44.
wmic qfe

Listing of Windows Hotfixes installed on your system​

Download wmic qfe HTML Output batch file


View wmic qfe HTML Output Example File

Download wmic qfe Text Output batch file


View wmic qfe Text Output Example File
45.
wmic quotasetting

Information for disk quotas on a volume​

Download wmic quotasetting HTML Output batch file


View wmic quotasetting HTML Output Example File

Download wmic quotasetting Text Output batch file


View wmic quotasetting Text Output Example File
46.
wmic rdaccount

TSNetwork Adapter Setting - Remote Desktop​

Download wmic rdaccount HTML Output batch file


View wmic rdaccount HTML Output Example File

Download wmic rdaccount Text Output batch file


View wmic rdaccount Text Output Example File
47.
wmic rdnic

Remote Desktop connection on a specific network adapter info​

Download wmic rdnic HTML Output batch file


View wmic rdnic HTML Output Example File

Download wmic rdnic Text Output batch file


View wmic rdnic Text Output Example File
48.
wmic rdpermissions

RDP console permissions info​

Download wmic rdpermissions HTML Output batch file


View wmic rdpermissions HTML Output Example File

Download wmic rdpermissions Text Output batch file


View wmic rdpermissions Text Output Example File
49.
wmic rdtoggle

Info re: Turn Remote Desktop listener on or off remotely​

Download wmic rdtoggle HTML Output batch file


View wmic rdtoggle HTML Output Example File

Download wmic rdtoggle Text Output batch file


View wmic rdtoggle Text Output Example File
50.
wmic recoveros

System crash settings info (Blue Screen Information)​

Download wmic recoveros HTML Output batch file


View wmic recoveros HTML Output Example File

Download wmic recoveros Text Output batch file


View wmic recoveros Text Output Example File
51.
wmic registry

CurrentSize, MaximumSize, ProposedSize, Status info of Registry​

Download wmic registry HTML Output batch file


View wmic registry HTML Output Example File

Download wmic registry Text Output batch file


View wmic registry Text Output Example File
52.
wmic scsicontroller

SCSI Controller info​

Download wmic scsicontroller HTML Output batch file


View wmic scsicontroller HTML Output Example File

Download wmic scsicontroller Text Output batch file


View wmic scsicontroller Text Output Example File
53.
wmic service

Detailed info on all executing Windows system services​

Download wmic service HTML Output batch file


View wmic service HTML Output Example File

Download wmic service Text Output batch file


View wmic service Text Output Example File
54.
wmic shadowcopystorage

Shadow copy storage area management info​

Download wmic shadowcopystorage HTML Output batch file


View wmic shadowcopystorage HTML Output Example File

Download wmic shadowcopystorage Text Output batch file


View wmic shadowcopystorage Text Output Example File
55.
wmic share

Shared resources info​

Download wmic share HTML Output batch file


View wmic share HTML Output Example File

Download wmic share Text Output batch file


View wmic share Text Output Example File
56.
wmic softwareelement

Elements of software products info​

Download wmic softwareelement HTML Output batch file


View wmic softwareelement HTML Output Example File

Download wmic softwareelement Text Output batch file


View wmic softwareelement Text Output Example File
57.
wmic softwarefeature

Subsets of SoftwareElement info​

Download wmic softwarefeature HTML Output batch file


View wmic softwarefeature HTML Output Example File

Download wmic softwarefeature Text Output batch file


View wmic softwarefeature Text Output Example File
58.
wmic sound

System audio info​

Download wmic sound HTML Output batch file


View wmic sound HTML Output Example File

Download wmic sound Text Output batch file


View wmic sound Text Output Example File
59.
wmic startup

Commands that run automatically when users logon info​

Download wmic startup HTML Output batch file


View wmic startup HTML Output Example File

Download wmic startup Text Output batch file


View wmic startup Text Output Example File
60.
wmic sysaccount

Detailed info on system accounts​

Download wmic sysaccount HTML Output batch file


View wmic sysaccount HTML Output Example File

Download wmic sysaccount Text Output batch file


View wmic sysaccount Text Output Example File
61
.

wmic sysdriver

Detailed listing of system drivers​

Download wmic sysdriver HTML Output batch file


View wmic sysdriver HTML Output Example File

Download wmic sysdriver Text Output batch file


View wmic sysdriver Text Output Example File
62.
wmic systemenclosure

System enclosure info​

Download wmic systemenclosure HTML Output batch file


View wmic systemenclosure HTML Output Example File

Download wmic systemenclosure Text Output batch file


View wmic systemenclosure Text Output Example File
63.
wmic systemslot

Physical connection points including ports, slots and peripherals, and proprietary connections points​

Download wmic systemslot HTML Output batch file


View wmic systemslot HTML Output Example File

Download wmic systemslot Text Output batch file


View wmic systemslot Text Output Example File
64.
wmic tapedrive

System tape drive info​

Download wmic tapedrive HTML Output batch file


View wmic tapedrive HTML Output Example File

Download wmic tapedrive Text Output batch file


View wmic tapedrive Text Output Example File
65.
wmic temperature

Temperature sensor (electronic thermometer) - if applicable​

Download wmic temperature HTML Output batch file


View wmic temperature HTML Output Example File

Download wmic temperature Text Output batch file


View wmic temperature Text Output Example File
66.
wmic timezone

Time zone data​

Download wmic timezone HTML Output batch file


View wmic timezone HTML Output Example File

Download wmic timezone Text Output batch file


View wmic timezone Text Output Example File
67.
wmic useraccount

User accounts info​

Download wmic useraccount HTML Output batch file


View wmic useraccount HTML Output Example File

Download wmic useraccount Text Output batch file


View wmic useraccount Text Output Example File
68.
wmic voltage

Voltage sensor (electronic voltmeter) data - if applicable​

Download wmic voltage HTML Output batch file


View wmic voltage HTML Output Example File

Download wmic voltage Text Output batch file


View wmic voltage Text Output Example File
69.
wmic volumequotasetting

Associates the disk quota setting with a specific disk volume​

Download wmic volumequotasetting HTML Output batch file


View wmic volumequotasetting HTML Output Example File

Download wmic volumequotasetting Text Output batch file


View wmic volumequotasetting Text Output Example File
70.
wmic volumeuserquota

Per user storage volume quotas info​

Download wmic volumeuserquota HTML Output batch file


View wmic volumeuserquota HTML Output Example File

Download wmic volumeuserquota Text Output batch file


View wmic volumeuserquota Text Output Example File
71.
wmic wmiset

WMI service operational parameters info​

Download wmic wmiset HTML Output batch file


View wmic wmiset HTML Output Example File

Download wmic wmiset Text Output batch file


View wmic wmiset Text Output Example File
72
.

wmic

SystemInfo​

Download wmic HTML Output batch file


View wmic HTML Output Example File

Download wmic Text Output batch file


View wmic Text Output Example File





DOWNLOAD + EXECUTION INFORMATION & INSTRUCTIONS

In Windows 7 and Windows Vista systems, the bar that runs the length of the bottom of the IE screen will be red in color.

In Windows 10, Windows 8.1, and Windows 8 systems, you can expect to see the following if using Internet Explorer: (make the choices as indicated):

wmi1.png


wmi2.png


wmi3.png






WMI - Windows Management Instrumentation - BATCH SCRIPTS


Additional Information from Microsoft
Windows Management Instrumentation (Windows)
About WMI (Windows)
A Description of the Windows Management Instrumentation (WMI) Command-Line Utility (Wmic.exe)
Using Windows Management Instrumentation for Diagnostics
Windows Management Instrumentation Command-line: Windows Management Instrumentation (WMI)

Windows Management Instrumentation: Administering Windows and Applications Across Your Enterprise
Windows Management Instrumentation: A Simple, Powerful Tool for Scripting Windows Management
[MS-WMI]: Windows Management Instrumentation Remote Protocol
Windows Management Instrumentation and Simple Network Management Protocol
WMI Reference (Windows)

Microsoft Corporation
WMI .NET Overview
WMI Classes (Windows)
Windows Management Instrumentation overview: Windows Management Instrumentation (WMI)
Windows Management Instrumentation Tester: Windows Management Instrumentation (WMI)

Windows Management Instrumentation
Windows Management Instrumentation: International Support Overview
wmic (Windows)
WMIC - Take Command-line Control over WMI
Microsoft - WMI Scripting Primer

Example: Getting WMI Data from the Local Computer (Windows)
Use WMI Control to Manage Windows Management Instrumentation
Error Message: The Windows Management Instrumentation (WMI) Information Might Be Corrupted
Memory corruption may occur with the Windows Management Instrumentation (WMI) service on a computer that is running Windows Server 2008 or Windows Vista Service Pack 1
Further Information (Windows)

https://www.microsoft.com/resources...web_based_enterprise_management.mspx?mfr=true
Windows Management Instrumentation (WMI): Frequently Asked Questions
Windows Management Infrastructure Blog - Site Home - MSDN Blogs
Windows Management Instrumentation - Wikipedia, the free encyclopedia
http://la.trendmicro.com/media/misc/understanding-wmi-malware-research-paper-en.pdf

HP Support document - HP Support Center
WMI: How to Troubleshoot WMI High Handle Count - Ask the Performance Team - Site Home - TechNet Blogs
http://www.symantec.com/business/su...OW_TO/60000/HOWTO60925/en_US/Enabling_WMI.pdf

Descriptions of WMI commands - Wmic command line utilities
 
Last edited:
Rich (BB code):
C:\Windows\system32>wmic os get localdatetime
LocalDateTime
20190805113159.562000-240


C:\Windows\system32>
C:\Windows\system32>wmic os get /?

Property get operations.
USAGE:

GET [<property list>] [<get switches>]
NOTE: <property list> ::= <property name> | <property name>,  <property list>

The following properties are available:
Property Type Operation
======== ==== =========
BootDevice N/A N/A
BuildNumber N/A N/A
BuildType N/A N/A
CSDVersion N/A N/A
CSName N/A N/A
CodeSet N/A N/A
CountryCode N/A N/A
CurrentTimeZone N/A N/A
Debug N/A N/A
Description N/A N/A
Distributed N/A N/A
EncryptionLevel N/A N/A
ForegroundApplicationBoost N/A N/A
FreePhysicalMemory N/A N/A
FreeSpaceInPagingFiles N/A N/A
FreeVirtualMemory N/A N/A
InstallDate N/A N/A
LastBootUpTime N/A N/A
LocalDateTime N/A N/A
Locale N/A N/A
Manufacturer N/A N/A
MaxNumberOfProcesses N/A N/A
MaxProcessMemorySize N/A N/A
Name N/A N/A
NumberOfLicensedUsers N/A N/A
NumberOfProcesses N/A N/A
NumberOfUsers N/A N/A
OSLanguage N/A N/A
OSProductSuite N/A N/A
OSType N/A N/A
Organization N/A N/A
OtherTypeDescription N/A N/A
PlusProductID N/A N/A
PlusVersionNumber N/A N/A
Primary N/A N/A
QuantumLength N/A N/A
QuantumType N/A N/A
RegisteredUser N/A N/A
SerialNumber N/A N/A
ServicePackMajorVersion N/A N/A
ServicePackMinorVersion N/A N/A
SizeStoredInPagingFiles N/A N/A
Status N/A N/A
SystemDevice N/A N/A
SystemDirectory N/A N/A
SystemDrive N/A N/A
TotalSwapSpaceSize N/A N/A
TotalVirtualMemorySize N/A N/A
TotalVisibleMemorySize N/A N/A
Version N/A N/A
WindowsDirectory                        N/A                     N/A

The following GET switches are available:

/VALUE                       - Return value.
/ALL(default) - Return the data and metadata for the attribute.
/TRANSLATE:<table name> - Translate output via values from <table name>.
/EVERY:<interval> [/REPEAT:<repeat count>] - Returns value every (X interval) seconds, If /REPEAT specified the command is executed <repeat count> times.
/FORMAT:<format specifier>   - Keyword/XSL filename to process the XML results.

NOTE: Order of /TRANSLATE and /FORMAT switches influences the appearance of output.
Case1: If /TRANSLATE precedes /FORMAT, then translation of results will be followed by formatting.
Case2: If /TRANSLATE succeeds /FORMAT, then translation of the formatted results will be done.


C:\Windows\system32>
 
Thanks for the compliment.

The entire WMI table was generated by batch code that I wrote. No way would I have done all of that manually!
 
Back
Top