Prerequisites
-
Windows machine with Azure PowerShell installed
-
Sufficient local storage space for VHD download
-
StarWind V2V Converter for disk conversion
-
VMware Workstation Pro for OVF export
Step 1: Export VHD from Azure
Using Azure PowerShell
Save-AzureVhd [-Source] <URI> [-LocalFilePath] <String> [[-NumberOfThreads] <Int32>] [[-StorageKey] <String>] [[-OverWrite]] [<CommonParameters>]
Key Parameters:
-LocalFilePath - Local save path
- NumberOfThreads - Download threads (optional)
- OverWrite - Overwrite existing file
- Source - Azure blob URI
- StorageKey - Storage account key (if needed)
Example Commands:
-
Basic download:
Save-AzureVhd -Source "http://mystorage.blob.core.windows.net/vhds/myvm.vhd" -LocalFilePath "D:\exports\myvm.vhd"
-
With overwrite:
Save-AzureVhd -Source "http://mystorage.blob.core.windows.net/vhds/myvm.vhd" -LocalFilePath "D:\exports\myvm.vhd" -OverWrite
-
Using storage key:
Save-AzureVhd -Source "http://mystorage.blob.core.windows.net/vhds/myvm.vhd" -LocalFilePath "D:\exports\myvm.vhd" -StorageKey "AbCdEfG123456=="
Note: Find the correct VHD URL in Azure Portal → Storage Account → Blob Container
Step 2: Convert VHD to VMDK
-
-
Source: Azure VHD
-
Target: VMware VMDK (select Thin Provisioned)
-
Configure disk geometry if needed
-
Use VMware Workstation Pro to create new VM and attach the converted VMDK disk and export to OVF format (see the article).