Managing blobs in Azure Storage using PowerShell
In this recipe, we will learn how to perform various management tasks on an Azure blob. We will perform operations such as copying, listing, modifying, deleting, and downloading files from Azure Blob storage.
Getting ready
Before you start, perform the following steps:
- Make sure you have an existing Azure storage account. If not, create one by following the Provisioning an Azure storage account using PowerShell recipe.
- Make sure you have an existing Azure storage container. If not, create one by following the Creating containers and uploading files to Azure Blob storage using PowerShell recipe.
- Log in to your Azure subscription in PowerShell. To log in, run the
Connect- AzAccount
command in a new PowerShell window and follow the instructions.
How to do it…
Let's perform the following operations in this recipe:
- Copy files/blobs between two blob storage containers.
- List files from...