WMIC is gone: use PowerShell's Get-CimInstance instead — via Microsoft Learn
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
- Replace
wmic <alias> get ...withGet-CimInstance -ClassName Win32_<Class>. For example,wmic biosbecomesWin32_BIOS. - Pipe the result to
Select-Objectto 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, BuildNumberMicrosoft also removed PowerShell 2.0 from Windows in August 2025. Use Windows PowerShell 5.1 or PowerShell 7.
Sources
- Features and functionality removed in Windows client — by Microsoft Learn
- WMI command-line (WMIC) utility — by Microsoft Learn
- 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.