Make an uploaded VHD an OS disk with the new portal

Make a VHD an OS disk using PowerShell and not the Azure portal.

John Savill

December 24, 2015

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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"

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like