Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This sample shows how to register a VHD als data disk in Azure.
Add-AzureDisk -DiskName host3 -MediaLocation
<# Output
AffinityGroup :
AttachedTo :
IsCorrupted : False
Label : host3
Location : West Europe
DiskSizeInGB : 128
MediaLink :
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