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 .

Import-Module “C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1”

Convert to :
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath “E:\Virtuele Machines\DC01\DC01.” -DestinationLiteralPath “G:\” -VhdType FixedHardDisk -VhdFormat Vhd

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

Translate »
%d bloggers like this: