Check Disk Health with Windows PowerShell
Learn how to quickly check disk health using PowerShell
John Savill
March 18, 2014
1 Min Read
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
and
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!
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like