Partilhar via


virtual machine conversion recipes

See also: all the recipes and the intro

Here are the recipes of how to convert the VMWare VM images to run them in Hyper-V:

 # Virtual machine converter, from OVF and VMWare
https://technet.microsoft.com/library/dn873998.aspx
# To use PowerShell cmdlets, import them
Import-Module 'C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'
# Importing OVF packages
https://technet.microsoft.com/en-us/library/jj158932.aspx
# .OVA file is really a tar file, untar it to get .OVF and .VMDK
# Then convert the irtual disk file (easier to just read the OVF manually and
# create the VM from scratch)
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath C:\vm\linux_distro\Snappy-vm\core-stable-amd64-cloud-disk1.vmdk -DestinationLiteralPath C:\vm\linux_distro\Snappy-vm\snappy.vhdx -VhdType DynamicHardDisk -VhdFormat vhdx