Monday, March 1, 2021

PowerShell command to check a local disk for errors

Below is a PowerShell command to check a local disk for errors.

Get-PhysicalDisk | Where-Object {$_.HealthStatus  -ne ‘Healthy’}



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.