Share via


Virtual Machine Converter directly from VMware file

Question

Tuesday, December 19, 2017 7:23 PM

Is there any way to use the Microsoft Virtual Machine Converter to convert a VMware VM file directly?  In other words, can I plop a VMware VM file directly onto a Hyper V server and convert it to Hyper V?  It seems to me that the Microsoft VM converter only converts from the VMware server to another Hyper V server.  

All replies (3)

Tuesday, December 19, 2017 7:28 PM

You can convert the disk files on the hyper-v host using the cmdlets

ConvertTo-MvmcVirtualHardDisk is the command you're looking for 

PS: $get-help ConvertTo-MvmcVirtualHardDisk

NAME
    ConvertTo-MvmcVirtualHardDisk

SYNTAX
    ConvertTo-MvmcVirtualHardDisk [-SourceLiteralPath] <string> [[-DestinationLiteralPath] <string>] [[-VhdType] {DynamicHardDisk | FixedHardDisk}] [[-VhdFormat] {Vhd | Vhdx}]
    [<CommonParameters>]


ALIASES
    ConvertTo-MvmcVhd


REMARKS
    None



PS: $get-help ConvertTo-MvmcVirtualHardDisk -Examples

NAME
    ConvertTo-MvmcVirtualHardDisk

ALIASES
    ConvertTo-MvmcVhd


REMARKS
    None

Wednesday, December 20, 2017 8:08 AM

Hello,

According to the feature introduction for MVMC, it supports for converting VMWare VMDK to Hyper-V VHD. Please see following screenshot.

After walking through the documentation for MVMC cmdlets,  I found out that the ConvertTo-MvmcVirtualHardDisk cmdlet can convert VMDK to VHD. 

More details about this cmdlet, please refer to the following documentation.

https://download.microsoft.com/download/9/1/E/91E9F42C-3F1F-4AD9-92B7-8DD65DA3B0C2/MVMC_cmdlets.doc

By the way, you can use the following command to import the MVMC PowerShell Module.

PS C:\> Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1"

Best regards,

Andy Liu

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


Friday, December 29, 2017 11:20 AM

As an alternative, you may try to use free V2V Converter https://www.starwindsoftware.com/converter. It converts VMDK to VHD(X) and other popular virtual disk formats and does hardware patching to ensure your VM successfully boots after conversion. Additionally, you can activate Rescue Mode (for Windows virtual machines) while converting to be able to fix any boot issues during startup.

Best regards,

Taras Shved

StarWind Software

Blog:   Twitter:   LinkedIN:  

Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.