Skip to content

Best PicksCPU

Best Built-In Windows 11 Commands for Checking Your PC Hardware (2026)

Eight built-in Windows 11 commands for checking your PC hardware without extra software. Using Microsoft's documentation, we pick systeminfo, msinfo32, Get-CimInstance, Get-StorageReliabilityCounter, pnputil, powercfg, winsat and dxdiag, explain what each is best for and why old wmic guides no longer work on Windows 11 24H2.

By , Buying Guides & Peripherals Editor

5 min read

Best Built-In Windows 11 Commands for Checking Your PC Hardware (2026)

You don't need to download anything to find out what's inside your PC, whether a drive is healthy or why a device isn't working. Windows 11 ships with a set of commands that answer most hardware questions from Terminal, Command Prompt or PowerShell, and several can save their results to a file you can keep or share with a support forum. We picked eight using Microsoft's own documentation, checked on 30 November 2026. All of them are free and built in.

Quick list

  1. systeminfo: best quick overview

  2. msinfo32: best full report to save

  3. Get-CimInstance: best for details on a specific part

  4. Get-PhysicalDisk and Get-StorageReliabilityCounter: best built-in drive health check

  5. pnputil /enum-devices: best for finding problem devices

  6. powercfg: best for power, battery and sleep problems

  7. winsat: best quick hardware assessment

  8. dxdiag: best for graphics and DirectX details

Before you start: Microsoft says the WMIC utility is deprecated, and an August 2026 update to its deprecated features list says WMIC has been removed and is no longer available as a Feature on Demand on Windows 11 version 24H2 and above. Older guides that use wmic commands won't work on current Windows 11, which is why we use PowerShell's Get-CimInstance below. WMI itself isn't affected.

1. systeminfo: best quick overview

Microsoft says systeminfo "displays detailed configuration information about a computer and its operating system", including operating system configuration, security information, product ID and hardware properties such as RAM, disk space and network cards. Just type systeminfo and press Enter.

Use /fo to choose TABLE, LIST or CSV output, which makes systeminfo /fo csv > pcinfo.csv an easy way to save a record. Microsoft lists it as applying to Windows 11 and Windows 10.

2. msinfo32: best full report to save

msinfo32 opens the System Information tool, which Microsoft says displays "a comprehensive view of the hardware, system components, and software environment on the local computer". It's a window rather than a text command, but it has useful switches: /report followed by a path saves the information to a file, and /nfo saves it in the tool's own format. That's ideal for capturing a full snapshot before a big upgrade.

For a walkthrough of the graphical tools, see our guide to checking your PC specs in Windows 11.

3. Get-CimInstance: best for details on a specific part

In PowerShell, Get-CimInstance "gets the CIM instances of a class from a CIM server". In practice, that means you can query Windows' hardware classes directly:

  • Get-CimInstance -ClassName Win32_Processor returns processor details. Microsoft's documentation includes NumberOfCores, MaxClockSpeed (maximum speed in MHz) and Speed (current speed in MHz).

  • Get-CimInstance -ClassName Win32_PhysicalMemory lists each memory module, with Capacity in bytes and ConfiguredClockSpeed, which Microsoft describes as the configured clock speed of the memory device, or 0 if the speed is unknown.

  • Get-CimInstance -ClassName Win32_VideoController returns graphics adapter details, including DriverVersion, the version number of the video driver.

Add | Format-List * to see every property. This is the modern replacement for most old wmic hardware queries. To check whether your RAM is running at its rated speed, our guide to checking RAM speed in Windows 11 explains what to look for.

4. Get-PhysicalDisk and Get-StorageReliabilityCounter: best built-in drive health check

Get-PhysicalDisk lists the physical disks Windows can see, and Microsoft's example output includes OperationalStatus and HealthStatus columns. Pipe a disk into Get-StorageReliabilityCounter for more: Microsoft says the counters include "information about such things as the device temperature, errors, wear, and length of time the device has been in use". Microsoft's own example is:

Get-PhysicalDisk -FriendlyName "PhysicalDisk8" | Get-StorageReliabilityCounter | Format-List

Replace the name with one from your own Get-PhysicalDisk output. For a graphical view of drive health, see our CrystalDiskInfo vs Hard Disk Sentinel comparison and our guide to checking SSD health.

5. pnputil /enum-devices: best for finding problem devices

PnPUtil is Windows' driver and device command. pnputil /enum-devices lists devices, and Microsoft documents filters including /connected, /disconnected, /class and /problem, so pnputil /enum-devices /problem narrows the list to devices with a problem code. Microsoft says the /enum-devices command is available from Windows 10 version 1903. Open the prompt with Run as administrator.

If you find a device with an error code, our guide to fixing Device Manager error codes explains what each common code means, and our guide to removing old drivers covers PnPUtil's clean-up commands.

6. powercfg: best for power, battery and sleep problems

powercfg is the go-to command when a PC won't sleep, wakes on its own or a laptop's battery is fading. Microsoft documents:

  • /batteryreport, which generates a report of battery usage.

  • /energy, which analyses the system for common energy-efficiency and battery life problems.

  • /lastwake, which reports what woke the system from the last sleep transition.

  • /requests, which lists application and driver power requests.

  • /sleepstudy, which generates a diagnostic system power transition report.

We have step-by-step guides to the battery report and the energy report.

7. winsat: best quick hardware assessment

winsat formal, run from an administrator prompt, assesses your CPU, memory, primary disk and video card and saves the results as XML in C:\Windows\Performance\WinSAT\DataStore. Microsoft explains that the base score is set by the lowest subscore, so it's a quick way to spot the weakest part of a PC. Microsoft also notes that WinSAT may be altered or unavailable in releases after Windows 8.1, so treat it as an older tool that still runs rather than a supported benchmark.

8. dxdiag: best for graphics and DirectX details

Microsoft says the DirectX Diagnostic Tool is used to collect information about devices to help troubleshoot problems with DirectX sound and video. Microsoft's instructions are to search for dxdiag and select it, then check the DirectX version under System Information on the System tab. Microsoft also suggests the Save All Information button for an easily shared format, which is what support forums usually ask for. Our dxdiag guide covers it in more detail.

Which should you use first?

Start with systeminfo or msinfo32 for an overview, use Get-CimInstance when you need a specific detail such as CPU core count or RAM speed, and turn to Get-StorageReliabilityCounter, pnputil or powercfg when you're chasing a specific problem. For third-party tools that show more sensor data, see our picks of the best free PC spec checker tools, and for repairing Windows itself, our best built-in Windows 11 troubleshooting tools.

The bottom line

Windows 11 can answer most hardware questions without extra software. Use systeminfo for a quick overview, msinfo32 /report for a full saved snapshot, Get-CimInstance for specific CPU, RAM and GPU details, Get-StorageReliabilityCounter for drive temperature, errors and wear, pnputil /enum-devices /problem for faulty devices, and powercfg for battery and sleep issues. Skip old wmic guides: WMIC has been removed from Windows 11 version 24H2 and later.

Sources

  1. 01Microsoft Learn, systeminfo
  2. 02Microsoft Learn, msinfo32
  3. 03Microsoft Learn, Get-CimInstance
  4. 04Microsoft Learn, Win32_Processor class
  5. 05Microsoft Learn, Win32_PhysicalMemory class
  6. 06Microsoft Learn, Win32_VideoController class
  7. 07Microsoft Learn, Get-PhysicalDisk
  8. 08Microsoft Learn, Get-StorageReliabilityCounter
  9. 09Microsoft Learn, PnPUtil command syntax
  10. 10Microsoft Learn, Powercfg command-line options
  11. 11Microsoft Learn, Using WinSAT
  12. 12Microsoft Learn, Deprecated features in the Windows client
  13. 13Microsoft Support, Open and run DxDiag.exe

About the author

Hannah Vance

Buying Guides & Peripherals Editor

Hannah edits Forge PC's buying guides and component roundups across gaming monitors, mechanical keyboards, mice, cases and power supplies. She specialises in OLED and Mini-LED panel characteristics, low-latency wireless peripherals, acoustic damping and value-for-money component selection for UK PC builders.

More from Hannah Vance

Read next

How to Add an Exclusion to Microsoft Defender in Windows 11 (Safely)

How-To

How to Add an Exclusion to Microsoft Defender in Windows 11 (Safely)

Microsoft Defender keeps flagging a file you trust? Rather than switching protection off, you can exclude a file, folder, file type or process in Windows Security. Following Microsoft's guidance, we show how to add and remove exclusions, use wildcards safely and what exclusions don't cover.

Marcus Thorne4 min

The Best NVIDIA App Features in 2026: What's Worth Using on a GeForce PC

Best Picks

The Best NVIDIA App Features in 2026: What's Worth Using on a GeForce PC

The NVIDIA App does far more than update drivers. Based on NVIDIA's official pages, we pick the features most worth using on a GeForce PC, from DLSS Override and Smooth Motion to Instant Replay, the performance overlay, RTX HDR and one-click GPU tuning, and explain who each suits.

Hannah Vance4 min