Make an uploaded VHD an OS disk with the new portal

Q. Using the new Azure portal how do I make an uploaded VHD file an OS disk?

A. The new Azure portal does not currently have the ability to make an uploaded VHD file an OS disk. Instead use PowerShell to make the VHD an OS disk and therefore usable by a VM. For example:

Add-AzureDisk -DiskName 'savazudc01-OS' -MediaLocation https://savtechstoreeastus.blob.core.windows.net/vhds/savazudc01-OS.vhd -Label 'OS' -OS "Windows"

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish