CHKDSK (pronounced check disk) is a command that displays a status report for a volume, such as a disk, and can correct any errors found in that volume. To use CHKDSK, computers must have the Autochk.exe file already on their system.
Admins have options for what switches to run with CHKDSK. For example, using /f tells CHKDSK to fix any errors it finds. Using /r tells CHKDSK to look for and recover any readable information in a disk's bad sectors.
Several command options for CHKDSK were added in Windows Server 2012. Administrators can use new commands in PowerShell to run CHKDSK, including repair-volume and scan.