Skip to content

Instantly share code, notes, and snippets.

@grumpydev
Created May 13, 2015 17:10
Show Gist options
  • Select an option

  • Save grumpydev/308ee779e04ecfabc606 to your computer and use it in GitHub Desktop.

Select an option

Save grumpydev/308ee779e04ecfabc606 to your computer and use it in GitHub Desktop.

Revisions

  1. grumpydev created this gist May 13, 2015.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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