Summary: Use Windows PowerShell to get file system errors on all NTFS volumes.
How can I use Windows PowerShell to check your NTFS volumes for file system errors?
On Windows 10 with Windows PowerShell 5.0, use the Get-Volume cmdlet to retrieve all volumes and
pipe the output to the Get-VolumeCorruptionCount cmdlet, for example:
Get-Volume | Get-VolumeCorruptionCount
Note This command requires elevation.