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
# To use PowerShell cmdlets, import them
Import-Module 'C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'
# Importing OVF packages
# .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
Comments (0)

Skip to main content