[Azure][PowerShell][ASM][04]Storage

$mySubscriptionName="订阅名称"

Set-AzureSubscription -SubscriptionName $mySubscriptionName  -CurrentStorageAccountName $myStorageAccount

Select-AzureSubscription -SubscriptionName $mySubscriptionName 

 

$myStorageAccount = ""

$myLocation = "China North" 

$myType = "Standard_LRS"

Set-AzureSubscription -SubscriptionName $mySubscriptionName  -CurrentStorageAccountName $myStorageAccount

New-AzureStorageAccount -StorageAccountName $myStorageAccount -Location $myLocation -Type $myType

 

$myStorageAccount = ""

$myLocation = "China North" 

$myType = "Standard_LRS"

Set-AzureSubscription -SubscriptionName $mySubscriptionName  -CurrentStorageAccountName $myStorageAccount

New-AzureStorageAccount -StorageAccountName $myStorageAccount -Location $myLocation -Type $myType

 

$myStorageAccount = ""

$myLocation = "China East" 

$myType = "Standard_LRS"

Set-AzureSubscription -SubscriptionName $mySubscriptionName  -CurrentStorageAccountName $myStorageAccount

New-AzureStorageAccount -StorageAccountName $myStorageAccount -Location $myLocation -Type $myType 

posted @ 2016-08-23 17:28  wuzhenzhou  阅读(154)  评论(0编辑  收藏  举报