Skip to content

WMIC is gone: use PowerShell's Get-CimInstance instead — via Microsoft Learn

Commandlow riskWindows 11Windows 10

The wmic command, used in countless old guides, was deprecated in 2021 and removed from Windows 11 24H2 and 25H2 in 2026. It's no longer even an optional feature. WMI itself still works, so the PowerShell CIM cmdlets give you the same information.

Takes effect right away

The easy way

  1. Replace wmic <alias> get ... with Get-CimInstance -ClassName Win32_<Class>. For example, wmic bios becomes Win32_BIOS.
  2. Pipe the result to Select-Object to choose the properties you want.

Command

Run in a normal PowerShell / Terminal window.

Get-CimInstance -ClassName Win32_BIOS
Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object Caption, Version, BuildNumber
Microsoft also removed PowerShell 2.0 from Windows in August 2025. Use Windows PowerShell 5.1 or PowerShell 7.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

wmicremovedpowershellcimwmi

More in Hidden Tools & Commands

Download a full macOS installer from Terminal — via SS64

Commandlow risk

softwareupdate can list and download complete macOS installers, including older versions Apple still serves. Useful for making a bootable USB installer or installing on another Mac without hunting through the App Store. This entry only downloads; it doesn't install anything.