Repair-virtualdisk 'link' -
Before running the repair-virtualdisk cmdlet, keep the following best practices and precautions in mind:
A typical recovery process involving a failed physical drive follows these steps: repair-virtualdisk
Here are some example use cases for the repair-virtualdisk cmdlet: Before running the repair-virtualdisk cmdlet
Repair-VirtualDisk -FriendlyName "UserData" repair-virtualdisk
If a disk is detached, it might not appear by FriendlyName in some contexts. Using the UniqueId ensures you are targeting the correct object.