Home > Mobile >  How to to convert a .vhdx file inside an azure blob to a .vhd file so i can create a VM from it
How to to convert a .vhdx file inside an azure blob to a .vhd file so i can create a VM from it

Time:01-18

I have a google cloud storage that stores disk images as .vhdx, i am using azure factory to send these disk images over to an Azure blob storage. the process of sending the .vhdx files completes with no problem, the problem now is i want to convert these .vhdx files in my azure blob to a .vhd format so that i can use them to create Vms, how can this conversion be done?

CodePudding user response:

Firstly, you need to download the .vhdx file to your local.

Then you can use the below PowerShell command to convert the .vhdx file to .vhd file:

Convert-VHD –Path c:\CreateVM\ucs.vhdx –DestinationPath c:\CreateVM\ucs.vhd -VHDType Fixed

Now, you can upload the .vhd file to the Azure Blob Storage

Then you can use the .vhd file to create VMs

  •  Tags:  
  • Related