Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This sample shows how to register a VHD als data disk in Azure.
Add-AzureDisk -DiskName host3 -MediaLocation https://pktest1.blob.core.windows.net/vhds/leasetest3-host3-2014-12-08.vhd
<# Output
AffinityGroup :
AttachedTo :
IsCorrupted : False
Label : host3
Location : West Europe
DiskSizeInGB : 128
MediaLink : https://pktest1.blob.core.windows.net/vhds/leasetest3-host3-2014-12-08.vhd
DiskName : host3
SourceImageName :
OS :
IOType : Standard
OperationDescription : Add-AzureDisk
OperationId : 92cf9ded-9ace-59ef-81e9-f10ca7006d84
OperationStatus : Succeeded
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.