Skip to content

Instantly share code, notes, and snippets.

@abderrazak-bouadma
Created September 11, 2018 08:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abderrazak-bouadma/53b514b3ed14391a21703757fd89becb to your computer and use it in GitHub Desktop.
Save abderrazak-bouadma/53b514b3ed14391a21703757fd89becb to your computer and use it in GitHub Desktop.
converts a VMware vmdk to an Azure compatible fixed VHD
# converts a VMware vmdk to an Azure compatible fixed VHD
# to use the VHD you've then to upload into a storage container as a BlobPage
# then create a Managed Disk
# then create a VM from that Managed Disk
#
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath disk1.vmdk -VhdType Fixed -VhdFormat vhd -destination disk1.vhd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment