Created
January 30, 2015 09:59
-
-
Save pkirch/5a066ee83479ae49fbc5 to your computer and use it in GitHub Desktop.
This sample shows how to create a new container in an Azure storage account.
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
$storageAccountKey = Get-AzureStorageKey -StorageAccountName $storageAccountName | |
$storageContext = New-AzureStorageContext -StorageAccountKey $storageAccountKey.Primary -StorageAccountName $storageAccountKey.StorageAccountName | |
New-AzureStorageContainer -Name $storageContainerName -Context $storageContext -Permission Off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code sample is used in my blog post at http://blogs.msdn.com/b/pkirchner/archive/2015/02/02/grundlagen-azure-amp-powershell-vms-erstellen.aspx.