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.
Make a VHD an OS disk using PowerShell and not the Azure portal.
December 24, 2015
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"
You May Also Like