Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Microsoft Azure Storage

You're reading from   Learning Microsoft Azure Storage Build large-scale, real-world apps by effectively planning, deploying, and implementing Azure storage solutions

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781785884917
Length 276 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mohamed Waly Mohamed Waly
Author Profile Icon Mohamed Waly
Mohamed Waly
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Understanding Azure Storage 101 FREE CHAPTER 2. Delving into Azure Storage 3. Azure Storage for VMs 4. Implementing Azure SQL Databases 5. Beyond Azure SQL Database Management 6. Azure Backup 7. Azure Site Recovery 8. Extending Your Azure Storage Management

Automating tasks

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.

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...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image