Skip to content

How-ToSSD

How to Check SSD and Hard Drive Health in Windows 11 With PowerShell

Windows 11 can check your SSDs and hard drives without extra software. Using Microsoft's documentation for the built-in PowerShell storage cmdlets, we show how to read each drive's health status, temperature, wear, power-on hours and uncorrected errors, find USB drives, save a record and what to do if a drive reports a problem.

By , Systems & Technical Editor

5 min read

How to Check SSD and Hard Drive Health in Windows 11 With PowerShell

You don't always need to download an app to see whether a drive is in trouble. Windows 11 includes PowerShell storage cmdlets that report each physical disk's health status and, where the drive and driver provide them, reliability counters such as temperature, wear and uncorrected errors. That's handy on a work PC where you can't install software, on a fresh Windows install, or when you just want a quick second opinion. This guide is based on Microsoft's documentation for Get-PhysicalDisk, Get-StorageReliabilityCounter, Get-Disk and the underlying MSFT_PhysicalDisk and MSFT_StorageReliabilityCounter classes, all checked on 1 December 2026.

What you'll need

  • A Windows 11 PC. Microsoft lists Windows 8 as the minimum supported client for the reliability counter class, so Windows 10 works too.

  • PowerShell or Windows Terminal. Right-click Start and choose Terminal (Admin) so the commands run with administrator rights. Our Windows Terminal guide explains the tabs and profiles, and our PowerShell 7 vs Windows PowerShell comparison covers which shell is which.

  • A recent backup. Nothing here changes your drives, but if a drive reports a problem you'll want your files safe before you do anything else.

Step 1: List your drives and their health status

Type this and press Enter:

Get-PhysicalDisk

Microsoft describes Get-PhysicalDisk as getting a list of all PhysicalDisk objects visible across any available Storage Management Providers. The default table shows FriendlyName, CanPool, OperationalStatus, HealthStatus, Usage and Size. In Microsoft's example, a single disk shows OperationalStatus OK and HealthStatus Healthy.

For a more useful view on a desktop PC, ask for the columns you care about:

Get-PhysicalDisk | Format-Table DeviceId, FriendlyName, MediaType, BusType, HealthStatus, OperationalStatus, Size

How to read the results, using Microsoft's MSFT_PhysicalDisk documentation:

  • HealthStatus is a high-level indication of device health. Microsoft lists four values: Healthy, Warning, Unhealthy and Unknown.

  • OperationalStatus gives operational status values that further explain the health status.

  • MediaType tells you what kind of drive it is: HDD, SSD, SCM (storage-class memory) or Unspecified.

  • BusType shows how it's connected. Values include SATA, NVMe, USB, RAID and Storage Spaces, among others.

If you want to see only problem drives, filter by health status. Microsoft documents Healthy, Warning, Unhealthy and Unknown as accepted values for the -HealthStatus parameter:

Get-PhysicalDisk -HealthStatus Warning
Get-PhysicalDisk -HealthStatus Unhealthy

No output means no drive is currently in that state.

Step 2: Read the reliability counters

HealthStatus is only a summary. For more detail, pipe the disks into Get-StorageReliabilityCounter. Microsoft says this cmdlet gets the storage reliability counters for the specified disk or physical disk, including information about the device temperature, errors, wear, and length of time the device has been in use.

To see the counters for every drive:

Get-PhysicalDisk | Get-StorageReliabilityCounter | Format-List

To check one drive, use its FriendlyName from Step 1. Microsoft's own example does exactly this:

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

The full list is long, so this shorter version picks out the fields most PC builders will want:

Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId, Temperature, TemperatureMax, Wear, PowerOnHours, ReadErrorsUncorrected, WriteErrorsUncorrected, ReadLatencyMax, WriteLatencyMax | Format-List

The DeviceId in this output matches the DeviceId of the physical disk, so you can tie each block of counters back to the right drive from Step 1.

Step 3: Understand what the numbers mean

Microsoft's MSFT_StorageReliabilityCounter documentation defines each field:

Field

What Microsoft says it means

What to look for

Temperature

The current temperature of the storage device in degrees Celsius

Compare it with TemperatureMax, especially under load

TemperatureMax

The maximum temperature in degrees Celsius at which the device is capable of normal operation

A reading close to this suggests a cooling problem

Wear

The wear indicator, in percentage; at 100%, the estimated wear limit will have been reached

Rising numbers are normal on SSDs; plan a replacement as it nears 100

PowerOnHours

Hours the device has been powered on since it was manufactured

Useful when checking a second-hand drive

ReadErrorsUncorrected / WriteErrorsUncorrected

Read or write errors that were not corrected by the device

Any non-zero value is worth investigating

ReadLatencyMax / WriteLatencyMax

Maximum latency of a read or write request, in milliseconds

Microsoft says a value greater than 10 seconds may indicate a problem with the disk or the HBA

ManufactureDate

The year and week the device was manufactured

Another clue when buying used

Two practical notes. First, Microsoft's own sample output leaves the Wear field blank and shows PowerOnHours as 0, so don't panic over empty or odd-looking fields: not every drive and driver report every counter. Second, the list also includes counters such as StartStopCycleCount and LoadUnloadCycleCount, each with a matching "Max" value, so you can compare the current count with the maximum.

If an NVMe drive's temperature looks high, our NVMe SSD overheating guide covers heatsinks, airflow and slot choice.

Step 4: Find USB and external drives

External drives can be harder to track down. Microsoft's Get-Disk documentation includes an example that filters for disks attached via USB:

Get-Disk | Where-Object -FilterScript {$_.Bustype -Eq "USB"}

Get-Disk gets the Disk objects visible to the operating system, which also helps you match a physical drive to the disk number you see in Disk Management.

Step 5: Keep a record

Wear and error counts are most useful when you can see them change. To save a snapshot to your desktop that you can open in Excel, run:

Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId, Temperature, Wear, PowerOnHours, ReadErrorsUncorrected, WriteErrorsUncorrected | Export-Csv "$env:USERPROFILE\Desktop\drive-health.csv" -NoTypeInformation

Run it again every few months, save each file with the date in its name, and compare.

What to do if a drive shows a problem

  1. Back up first. If HealthStatus says Warning or Unhealthy, or uncorrected errors start appearing, copy your important files somewhere else before running anything else. Our best free backup software picks can help.

  2. Get a second opinion. PowerShell shows a summary of what Windows receives from the drive. A full S.M.A.R.T. view in CrystalDiskInfo or smartmontools, or the drive maker's own app, gives more detail. See our smartmontools vs CrystalDiskInfo comparison, our guide to a CrystalDiskInfo Caution or Bad rating and our best free SSD management software.

  3. Check the basics. High temperatures, a loose cable or a failing USB enclosure can all produce worrying readings, so rule these out before you buy a replacement.

  4. Plan the replacement. If the problem is real, copy everything off and replace the drive while it still works. Our SSD health guide covers the warning signs in more detail.

The bottom line

Windows 11 can give you a quick drive health check without extra software. Run Get-PhysicalDisk to see whether each drive reports Healthy, Warning, Unhealthy or Unknown, then pipe it into Get-StorageReliabilityCounter to read temperature, wear, power-on hours and uncorrected errors. Treat a Warning or Unhealthy status, or any uncorrected errors, as a reason to back up straight away and confirm with a full S.M.A.R.T. tool or the drive maker's app. Blank counters are normal on some drives, so don't read too much into them.

Sources

  1. 01Microsoft Learn, Get-PhysicalDisk
  2. 02Microsoft Learn, Get-StorageReliabilityCounter
  3. 03Microsoft Learn, Get-Disk
  4. 04Microsoft Learn, MSFT_PhysicalDisk class
  5. 05Microsoft Learn, MSFT_StorageReliabilityCounter 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

Best Free BSOD Crash Analysis Tools (2026): Find the Driver Behind a Blue Screen

Best Picks

Best Free BSOD Crash Analysis Tools (2026): Find the Driver Behind a Blue Screen

When Windows keeps crashing with a blue or black screen, the clues are in its crash dump files. We pick the best free tools to read them, WhoCrashed Home Edition, NirSoft BlueScreenView and Microsoft's WinDbg, from each developer's official pages, and explain what Microsoft says to do next.

Hannah Vance5 min