wmic
SafeQuery WMI (removed)
wmic <alias> get <props>
Removed from Windows 11 by the August 2026 update and no longer installable as a Feature on Demand; still present but deprecated on Windows Server 2025. Use Get-CimInstance instead. Kept here to help read older runbooks.
Examples
wmic bios get serialnumberGet the machine serialwmic logicaldisk get name,freespaceFree space per drive(Get-CimInstance Win32_BIOS).SerialNumberReplacement: get the serial (PowerShell)Get-CimInstance Win32_LogicalDisk | select DeviceID,FreeSpaceReplacement: free space per drive (PowerShell)
Syntax
wmic <alias> [where ...] get <props>
Before you run it
Queries are safe; not available on current Windows 11.
Related commands
- Get-ComputerInfoComputer info in PS
- systeminfoDump system info
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store