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
systeminfo: best quick overview
msinfo32: best full report to save
Get-CimInstance: best for details on a specific part
Get-PhysicalDisk and Get-StorageReliabilityCounter: best built-in drive health check
pnputil /enum-devices: best for finding problem devices
powercfg: best for power, battery and sleep problems
winsat: best quick hardware assessment
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.