Check Disk Health with Windows PowerShell

Check Disk Health with Windows PowerShell

Q: How can I check the health of my disks using PowerShell?

A: Windows actually has visibility into health of disks and can get different information based on the information exposed by the disks. My favorite commands are the following:

Get-PhysicalDisk | Sort Size | FT FriendlyName, Size, MediaType, 
SpindleSpeed, HealthStatus, OperationalStatus -AutoSize


Get-PhysicalDisk | Get-StorageReliabilityCounter | ft deviceid, 
temperature, wear -AutoSize

Note that in the previous command, the wear value shows you the overall health of your SSD drives. 0 is best, 100 is worst. This can help track how much longer your SSD drives will last!

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.