Skip to content

How-ToCPU

WMIC Is Gone From Windows 11: How to Get Hardware Info With PowerShell Instead

Microsoft has now removed the WMIC command-line tool from supported versions of Windows 11, so old wmic commands for reading your CPU, RAM or BIOS details no longer work. Using Microsoft's documentation, we explain what changed and give PowerShell Get-CimInstance commands that return the same hardware information.

By , Systems & Technical Editor

5 min read

WMIC Is Gone From Windows 11: How to Get Hardware Info With PowerShell Instead

For years, the quickest way to read a PC's CPU model, BIOS version or RAM part numbers from a command prompt was WMIC, the Windows Management Instrumentation Command-line tool. Plenty of old forum posts, support guides and batch files still tell you to type commands like wmic cpu get name or wmic bios get serialnumber. On an up-to-date Windows 11 PC, those commands now fail, because Microsoft has finished removing the tool. The good news is that the information hasn't gone anywhere. This guide explains what changed and when, then gives you PowerShell commands that pull the same hardware details. It's based on Microsoft's support article on the WMIC removal, its Windows IT Pro blog post and its Microsoft Learn documentation, checked on 1 December 2026.

What happened to WMIC?

Microsoft's support article (KB5067470) says the WMIC utility has now been removed from currently supported versions of Windows 11 and is no longer available as a Feature on Demand (FoD). The removal came in the August 2026 preview update for Windows 11, versions 24H2 and 25H2, and in the September 2026 preview update for Windows 11, version 26H1.

It's the end of a long run-down. Microsoft's timeline shows:

  • 2016: WMIC was deprecated in Windows Server 2012.

  • 2021: WMIC was deprecated in Windows 10, version 21H2.

  • 2022: In Windows 11, version 22H2, WMIC became a Feature on Demand that was preinstalled and enabled by default.

  • 2024: WMIC was disabled by default in Windows 11, versions 23H2 and 24H2, but could still be added as a Feature on Demand.

  • 2025: Upgrading to Windows 11, version 25H2 removed WMIC if it was installed, though you could add it back.

  • 2026: Removed from supported versions of Windows 11, with no Feature on Demand option.

The key point is that only the command-line tool has gone. Microsoft says WMI itself remains a supported and integral part of Windows, and that only the wmic.exe command-line wrapper is being removed, not the WMI service. Every hardware detail WMIC could read is still there for PowerShell to query.

Why PowerShell is the replacement

Microsoft's own advice is to use PowerShell for WMI tasks. Its support article says PowerShell's built-in WMI cmdlets can do everything WMIC did (and more), and it gives a direct example: replace wmic path win32_process get Name with Get-CimInstance Win32_Process | Select-Object Name.

The pattern is the same for hardware. Get-CimInstance gets the CIM instances of a class, you name the class (such as Win32_Processor), and Select-Object picks the properties you want. Windows PowerShell is built into Windows 11, so there's nothing to install. If you're not sure which shell to use, our guides to Command Prompt vs PowerShell and PowerShell 7 vs Windows PowerShell explain the differences.

To start, search the Start menu for PowerShell or Terminal and open it. None of the commands below change anything on your PC; they only read information.

CPU: model, cores, threads and clock speed

Get-CimInstance -ClassName Win32_Processor | Select-Object Name, NumberOfCores, NumberOfLogicalProcessors, MaxClockSpeed

Name is the processor's model string, NumberOfCores and NumberOfLogicalProcessors give core and thread counts, and Microsoft documents MaxClockSpeed as the maximum speed of the processor, in MHz. It may not match the boost clock on the spec sheet, so treat the processor name as the definitive answer and check its full specs with the manufacturer.

RAM: each stick's size, speed and part number

Get-CimInstance -ClassName Win32_PhysicalMemory | Select-Object DeviceLocator, Manufacturer, PartNumber, Capacity, ConfiguredClockSpeed

You get one line per installed module. DeviceLocator shows which slot it's in, and PartNumber is handy when you want to buy a matching kit or check a module against the maker's spec page. Capacity is in bytes, so a 16GB module shows as 17179869184. To make that readable, use a calculated property:

Get-CimInstance Win32_PhysicalMemory | Select-Object DeviceLocator, PartNumber, @{n='GB';e={$_.Capacity/1GB}}, ConfiguredClockSpeed

Microsoft describes ConfiguredClockSpeed as the configured clock speed of the memory device, in megahertz, or 0 if the speed is unknown. Compare it with your kit's rated speed if you want to see whether an XMP or EXPO profile appears to be applied. For other ways to check, see our guide to checking RAM speed in Windows 11.

For a single total, use Win32_ComputerSystem, which also returns the PC or laptop maker and model:

Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object Manufacturer, Model, TotalPhysicalMemory

Motherboard and BIOS version

Get-CimInstance -ClassName Win32_BaseBoard | Select-Object Manufacturer, Product, SerialNumber
Get-CimInstance -ClassName Win32_BIOS | Select-Object Manufacturer, SMBIOSBIOSVersion, ReleaseDate

Microsoft describes Win32_BaseBoard's Product as the baseboard part number defined by the manufacturer, which on most desktop boards is the model name you need to find the right BIOS, chipset driver or manual on the maker's site. SMBIOSBIOSVersion in Win32_BIOS is the BIOS version as reported by SMBIOS, and ReleaseDate tells you how old it is. Our guide to checking your BIOS version in Windows 11 covers the graphical alternatives.

Graphics card: name and driver version

Get-CimInstance -ClassName Win32_VideoController | Select-Object Name, DriverVersion, VideoProcessor

This lists every display adapter, including integrated graphics, with the installed driver version. Be careful with the AdapterRAM property you'll see in older scripts. Microsoft's documentation lists it as a uint32 value in bytes, and a 32-bit number can't go above about 4GB, so it often under-reports the VRAM on modern graphics cards. For an accurate figure, use the tools in our guide to checking VRAM usage on Windows.

Drives: model, interface, size and health

Get-CimInstance -ClassName Win32_DiskDrive | Select-Object Model, InterfaceType, @{n='GB';e={[math]::Round($_.Size/1GB)}}
Get-PhysicalDisk | Select-Object FriendlyName, HealthStatus

Win32_DiskDrive gives each drive's model and its size in bytes (rounded to GB above). Get-PhysicalDisk comes from Windows' Storage module and includes a HealthStatus property. For a fuller check of SMART data and wear, see our guide to checking drive health with PowerShell.

Running these from Command Prompt or a batch file

If you have an old batch file that calls WMIC, Microsoft's support article recommends rewriting it with PowerShell cmdlets such as Get-CimInstance. If you need to stay in a CMD prompt, it says you can run PowerShell using powershell -c "<command>" syntax. For example:

powershell -c "Get-CimInstance Win32_BIOS | Select-Object SMBIOSBIOSVersion"

Can you get WMIC back?

Microsoft's support article includes a temporary mitigation: a downloadable WMIC package (wmic_dlc.zip) with an install script that copies the WMIC files to C:\Windows\System32\wbem. Microsoft warns that this package is not a secure, long-term solution, should only be used at your discretion, and that you should move away from it as soon as possible. For checking your own hardware, there's no reason to use it, because the PowerShell commands above do the same job.

If you'd rather not use the command line at all, our guide to checking PC specs in Windows 11 covers Settings, System Information and Task Manager. For drivers, there's also the built-in driverquery command, explained in our guide to listing installed drivers with driverquery.

The bottom line

WMIC has now been removed from supported versions of Windows 11 and can't be reinstalled as a Feature on Demand, so old wmic commands will fail. WMI itself is still there, and Microsoft recommends PowerShell's Get-CimInstance as the replacement. Query Win32_Processor for your CPU, Win32_PhysicalMemory for RAM, Win32_BaseBoard and Win32_BIOS for the motherboard and BIOS, and Win32_VideoController and Win32_DiskDrive for graphics and drives. Avoid Microsoft's temporary WMIC download unless an old business tool really needs it.

Sources

  1. 01Microsoft Support, Windows Management Instrumentation Command-line (WMIC) removal from Windows
  2. 02Microsoft Tech Community, WMI command line (WMIC) utility deprecation: Next steps
  3. 03Microsoft Learn, Get-CimInstance
  4. 04Microsoft Learn, Win32_Processor class
  5. 05Microsoft Learn, Win32_PhysicalMemory class
  6. 06Microsoft Learn, Win32_VideoController class

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Choose an AI Upscaling Model: Using OpenModelDB to Find the Right One

How-To

How to Choose an AI Upscaling Model: Using OpenModelDB to Find the Right One

AI upscalers are only as good as the model you use. We explain how to use OpenModelDB to find the right one: subject and purpose tags, scale, architecture and app compatibility, file formats for PyTorch, ONNX and NCNN, licences, and how to shortlist and test models on your own images.

Marcus Thorne5 min

chaiNNer vs Upscayl: Which Free AI Image Upscaler Should You Use?

Versus

chaiNNer vs Upscayl: Which Free AI Image Upscaler Should You Use?

chaiNNer and Upscayl are two free, open source AI image upscalers you can run on your own PC. We compare ease of use, GPU support, model support, batch and video processing, how actively each is maintained, and licensing to help you choose.

Callum Reid6 min

How to Batch Upscale Images With chaiNNer: Free, Local AI Upscaling for Any GPU

How-To

How to Batch Upscale Images With chaiNNer: Free, Local AI Upscaling for Any GPU

chaiNNer is a free, open source, node-based app for running AI upscaling models locally. We cover which framework to install for NVIDIA, AMD and Intel graphics cards, downloading a model, building a simple upscale chain, turning it into a folder batch job and fixing black output and other common errors.

Marcus Thorne7 min

Best Monitor Control Apps for Windows in 2026: Ditch the OSD Buttons

Best Picks

Best Monitor Control Apps for Windows in 2026: Ditch the OSD Buttons

Most big monitor brands offer a free Windows app that replaces fiddly OSD buttons with mouse controls, plus extras such as layouts, per-app modes and firmware updates. Using each maker's own pages, we pick five: Dell Display and Peripheral Manager, ASUS DisplayWidget Center, LG OnScreen Control, BenQ Display Pilot 2 and Gigabyte OSD Sidekick.

Hannah Vance5 min