Tuesday, 22 March 2016

VMWare to Hyper-V

VMware and Hyper-V don't play nice together buy luckily Microsoft provide a conversion utility to migrate VMware drives over to Hyper-V VHDXs

You can get it here, and once it's installed you can use Powershell to do the donkey work.
Don't forget you need admin permissions to run though.

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

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath theVMWareDisk.vmdk -destination newFolder -VhdType DynamicHardDisk -VhdFormat vhdx