November 2017
Intermediate to advanced
276 pages
7h 6m
English
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.ValueNew-AzureStorageContainer -Name $ContainerName -Permission Container -Context $SCSet-AzureStorageBlobContent -Container $ContainerName -File C:\test.txt -Context $SC
Steps in detail: