Virtual box to Hyper-V is one easy step

Tip of the day, this tip has been shamelessly stolen from Diary of a SharePoint consultant like many others I run Virtual Box and have lots of different environments ready to run to aid development & migration and the thought of re-creating them in Hyper-V has filled me me dread for quite a while now.

I do run Hyper-V on a couple of servers that I use but not on my portable development laptop that I carry around and I have been feeling increasingly hypercritical recommending that people run Hyper-V when I have not been running it on my laptop.

So a few days ago I decided to take the plunge and find a way forward moving over to Hyper-V on my laptop and I came across the posting that has made my life much easier, so I have put it on my blog so I can find it again.

'C:\Program Files\Oracle\Virtual Box\vboxmanage.exe' clonehd 'C:\VMs\VirtualBox\Server2012R2\SP2012r2.vdi' 'C:\VMs\Hyper-V\Server2012R2\SP2012r2.vhd' –format VHD

So far the conversions have gone well, I have converted:

Linux, IIS & MySQL, IIS & SQL Server 2012 / 2014, SharePoint 2003, SharePoint 2007, SharePoint 2010 & a SharePoint 2013 servers.

The only hiccup is that you will need to use Generation 1 hardware to mount the .vhd format disk but that is not a worry to me.