Created
May 13, 2015 17:10
-
-
Save grumpydev/308ee779e04ecfabc606 to your computer and use it in GitHub Desktop.
Adding a new data disk to an azure VM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-AzureVM "serviceName" -Name "vmName" | Add-AzureDataDisk -CreateNew -DiskSizeInGB 128 -DiskLabel "Data" -LUN 0 -MediaLocation "https://mybloglocation.blob.core.windows.net/vhds/vmName-data.vhd" | Update-AzureVM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment