Quantcast
Channel: blog.atwork.at
Viewing all articles
Browse latest Browse all 1144

Convert Hyper-V VHDX to VHD for use in Azure

$
0
0

Well, I admit, I stumbled across that: I created a virtual machine in my local network and wanted to use it in Microsoft Azure. I created a virtual machine on my local Hyper-V Server and wanted to use it in Microsoft Azure. Well, of course – although I’ve read it a thousand times – the source machine was a VHDX file…

So the VHDX file needs to be converted to VHD format. Happily, I found the solution quickly :

Converting Hyper-V .vhdx to .vhd file formats for use in Windows Azure

Open PowerShell on a Hyper-V Host and run the Convert-VHD command which is available since Windows Server 2012 – see here.

Convert-VHD –Path C:\VM\MyVM.vhdx –DestinationPath c:\VM\MyNewVM.vhd

image

That’s it! Thx Courtenay Bernier for the tip!


Viewing all articles
Browse latest Browse all 1144