3. Perform step 4 (drive #) or step 5 (path) to know how to split the file .vhd or .vhdx.
4. Use drive # in PowerShell to separate VHD or VHDX files
Type the following command into Windows PowerShell, press Enter and go to step 6 below (see screenshot below).
Dismount-VHD -DiskNumber #
Note:
Replace # in the above command by the number of the actual drive (example: 2) from step 2 above.
For example:
Dismount-VHD -DiskNumber 2
5. Use the file path in PowerShell to extract VHD or VHDX files
Type the following command into Windows PowerShell, press Enter and go to step 6 below (see screenshot below).
Dismount-VHD -Path "full path of file .vhd or .vhdx"
Note
Replace the full path of the .vhd or .vhdx file in the above command with the actual file path from step 2 above.
For example:
Dismount-VHD -Path "C: UsersBrinkDesktopNon-InsiderW10.vhdx"
6. You can now close Windows PowerShell if you want.
See more: