CmdID / PowerShell / Cmdlets / Repair
Repair-VM
Repairs one or more virtual machines. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CompatibilityReportSpecifies a compatibility report which includes adjustments to be made during repair.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-PassthruSpecifies that an object is to be passed through to the pipeline representing the newly modified compatibility report.-PathSpecifies the path of the virtual machine to be repaired.-SnapshotFilePath, -CheckpointFileLocation, -SnapshotFileLocationSpecifies the path to be search for virtual machine snapshots.-WhatIf, -wiShows what would happen if the cmdlet runs.