Skip to content

wmic

Comprehensive WMIC command reference for Windows. Includes BIOS inventory, hardware details, OS information, network configuration, user accounts, processes, and service state queries for system administration, forensics, and automation


Get everything from BIOS (recommended)

wmic bios get /all

Full verbose output (best for forensics / inventory)

wmic bios list full

Get OS name and version

wmic os get Caption,Version

Shows the Windows edition and version number.

wmic os get lastbootuptime

Get computer name

wmic computersystem get name

Get system manufacturer and model

wmic computersystem get manufacturer,model

Get CPU name

wmic cpu get name

Get CPU core and thread count

wmic cpu get NumberOfCores,NumberOfLogicalProcessors

Get total physical memory

wmic computersystem get TotalPhysicalMemory

List installed RAM modules

wmic memorychip get capacity,speed,manufacturer

List logical disks with free space

wmic logicaldisk get name,freespace,size

Show drive types

wmic logicaldisk get name,drivetype

Get disk serial numbers

wmic diskdrive get model,serialnumber

List network adapters

wmic nic get name,macaddress

Show enabled network adapters only

wmic nic where NetEnabled=true get name,macaddress

Get IP addresses

wmic nicconfig where IPEnabled=true get IPAddress

List local user accounts

wmic useraccount get name,sid

List disabled user accounts

wmic useraccount where disabled=true get name

List running processes

wmic process get name,processid

Find a process by name

wmic process where "name='notepad.exe'" get processid

List services and states

wmic service get name,state,startmode

Check if a service is running

wmic service where "name='sshd'" get state