Hyper-V: Convert a VMware Virtual Machine files to Hyper-V

Hi,

this post describes how to convert VMware vmdk files to Hyper-V’s vhdx format.


First of all Microsoft Virtual Machine ConverterMicrosofts Virtual Machine Converter 3.1. At the download page Version 3.0 is shown but the link gets 3.1.

Update Powershell 5 Management Frameworkto the latest Version otherwise you get an error: “Remove the members that are not valid (‘RootModule’), then try to import the module again.”.

Start powershell with adminstrative permissions, load the module and get a list of the related cmdlets

PS D:\> Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1"
PS D:\> get-command -module *mvmc*

Convert to vhdx and disable VMware Tools. Note: Filetype vhdx Requieres a Windows Version >= 8/2012

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath “D:\VMs\ToConvert\Disk0.vmdk” -DestinationLiteralPath “E:\ExportToHyperV\Disk0.vhdx” -VhdType DynamicHardDisk -VhdFormat Vhdx
Disable-MvmcSourceVMTools -DestinationLiteralPath “E:\ExportToHyperV\Disk0.vhdx”

Michael

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress