How to scan, fix and troubleshoot disks with Powershell

I still see the old good chkdsk command everywhere in blog posts.

However, since Windows 8 and Windows 2012 Server you have now the Repair-Volume which is doing the same work.

Like for the chkdsk tool, you have the scan, spotfix and the OfflineScanAndFix parameters.

In addition, here are some other useful tools cmdlets:

I invite you to have a look at the official documentation of these cmdlets just below.

More about

Repair-Volume (Microsoft Docs)
Get-Volume​Corruption​Count (Microsoft Docs)
Get-Storage​Reliability​Counter (Microsoft Docs)
Get-File​Integrity (Microsoft Docs)
Repair-File​Integrity (Microsoft Docs)

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s