How to Convert VMWare .vmdk to Hyper-V .vhdx

  1. Download Microsoft Virtual Machine Converter 3.1 over here.
  2. Install mvmc_setup.msi
  3. Run your Powershel 3.0+ as an administrator.
Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1"
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "E:\VM\xxxxx.vmdk" -DestinationLIteralPath "C:\VHDXs"

Note that it is “ConvertTo-MvmcVirtualHardDisk “, not “ConvertTo-VirtualHardDisk”, as written in the MVMC_cmdlets.doc’s examples.

If you use “Microsoft Virtual Machine Converter 3.1” GUI, you will have to select a VMWare server as a source.

The powershell cmdlet allows you to convert a local .vmdk file.

Advertisements

One thought on “How to Convert VMWare .vmdk to Hyper-V .vhdx

  1. Thanks for the correct command. I just downloaded Microsoft Virtual Machine Converter 3.1 (June 2015) and the documentation still has the incorrect “ConvertTo-VirtualHardDisk” command.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s