CmdID / PowerShell / Cmdlets / Repair
Repair-Volume
Performs repairs on a volume. Windows Server PowerShell reference
From the Windows Server PowerShell reference 13 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DriveLetterSpecifies a letter used to identify a drive or volume in the system.-FileSystemLabelSpecifies the volume to scan based on the file system label (the volume name).-InputObjectSpecifies the input to this cmdlet.-ObjectId, -IdSpecifies an ID representing the object.-OfflineScanAndFixPerforms and offline scan and fix of any errors found in the file system.-PathContains valid path information.-ScanScans the volume.-SpotFixTakes the volume offline and fixes any issues that are logged in the $corrupt file.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.