Repair-vhd

Repair-VHD -Path "C:\Path\To\CorruptedVHD.vhd"

Example:

In this case, standard repair tools cannot fix the file structure. You may need to resort to specialized data recovery software designed to parse raw disk images. repair-vhd

If the disk is too severely corrupted, the cmdlet will return an error such as: Repair-VHD -Path "C:\Path\To\CorruptedVHD