Convert VMware .vmdk to Hyper-V .vhdx with Powershell

Download Virtual Machine 3.1 over here.

  1. Install mvmc_setup.msi
  2. Run your Powershel 3.0+ as an administrator.

Import-Module R0;C:\Program Files\ Virtual Machine \MvmcCmdlet.psd1R1;

Convert to VHD:
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath R0;E:\Virtuele Machines\DC01\DC01.vmdk” -DestinationLiteralPath “G:\Hyper-V” -VhdType FixedHardDisk -VhdFormat

Convert to VHDX:
Convert-VHD -Path ‘G:\\dc01.vhd’ -DestinationPath “G:\Hyper-V\dc01.vhdx” -VHDType Fixed -Passthru

Translate »
%d bloggers like this: