Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created January 30, 2015 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/5a066ee83479ae49fbc5 to your computer and use it in GitHub Desktop.
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.
$storageAccountKey = Get-AzureStorageKey -StorageAccountName $storageAccountName
$storageContext = New-AzureStorageContext -StorageAccountKey $storageAccountKey.Primary -StorageAccountName $storageAccountKey.StorageAccountName
New-AzureStorageContainer -Name $storageContainerName -Context $storageContext -Permission Off
@pkirch
Copy link
Author

pkirch commented Feb 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment