Show Windows disk reliability counters
Build a paste-ready command, then review its compatibility and effects before running it.
Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId,Temperature,ReadErrorsTotal,WriteErrorsTotal,Wearread-onlyno known side effects Compatibility
WindowsVerified for Windows using powershell syntax.
Operational knowledgereview due 2027-01-20
RequirementsGet-PhysicalDiskGet-PhysicalDisk must be installed and available on PATH.
Version supportGet-PhysicalDisk Current supported releasesVerified for windows using powershell syntax; consult compatibility notes for platform-specific differences.
Expected signalsDeviceId Temperature ReadErrorsTotal WriteErrorsTotal WearRepresentative successful output; values vary with the selected target and system state.
Known errorsGet-PhysicalDisk: command not foundGet-PhysicalDisk is missing or is not available on PATH.
VerifyGet-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId,Temperature,ReadErrorsTotal,WriteErrorsTotal,WearThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01Get-PhysicalDiskCommandRuns the Get-PhysicalDisk stage of this one-liner.
02|PipelinePasses the output on the left to the command on the right.
03Get-StorageReliabilityCounterCommandRuns the Get-StorageReliabilityCounter stage of this one-liner.
04|PipelinePasses the output on the left to the command on the right.
05Select-ObjectCommandRuns the Select-Object stage of this one-liner.
06DeviceId,Temperature,ReadErrorsTotal,WriteErrorsTotal,WearArgumentPasses DeviceId,Temperature,ReadErrorsTotal,WriteErrorsTotal,Wear to Select-Object.
Example input
Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId,Temperature,ReadErrorsTotal,WriteErrorsTotal,Wear
Example output
DeviceId Temperature ReadErrorsTotal WriteErrorsTotal Wear
-------- ----------- --------------- ---------------- ----
0 38 0 0 2
Illustrative output — exact values vary by system and data.
Official sources