Table of Contents
Offline Convert VMware VMs to Hyper-V
- Firstly, use VMware vCenter to Export VM to OVF Template VM. (OVA is just a compressed archive) OR you can directly copy the .VMDK files while the VMs is Powered Down. IMPORTANT: You need both VMDK files the 1K and the large file
- Download and install Microsoft Virtual Machine Convert – https://www.microsoft.com/en-au/download/details.aspx?id=42497
- Open Powershell and use the following commands:
- [sourcecode]Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1"[/sourcecode]
- [sourcecode]convertTo-MvmcVirtualHardDisk -SourceLiteralPath "D:\Debian8\Debian8-disk1.vmdk" -DestinationLiteralPath "D:\Debian8.vhdx" -VhdType DynamicHardDisk -VhdFormat Vhdx[/sourcecode]
- IMPORTANT: The source file must be the 1K file. Otherwise you will get “No suitable drive was found at path.” Error.