As usual when we reach the end of a chapter, we will work on automating the tasks that we have done manually. So, let's get started.
Automating tasks
Creating Blob storage using PowerShell
In this topic, we will cover how to create Blob storage that everyone has read/write access to in the storage account we created in the last chapter:
$ContainerName = packtpubbs
$SAK = Get-AzureRmStorageAccountKey -StorageAccountName "packtpubsaps" -ResourceGroupName packtpub
$SAK = $SAK | Where {$_.KeyName -like “key1”}
$SC = New-AzureStorageContext -StorageAccountName packtpubsaps -StorageAccountKey $SAK.Value
New-AzureStorageContainer -Name $ContainerName -Permission Container -Context $SC
Set-AzureStorageBlobContent...