Created
February 26, 2015 13:14
-
-
Save pkirch/d06961bbaa78a4404efb to your computer and use it in GitHub Desktop.
This sample shows how to register a VHD als data disk in Azure.
This file contains 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
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