Azure PowerShell samples for Azure Blob storage

The following table includes links to PowerShell script samples that create and manage Azure Storage.

Script Description
Storage accounts
Create a storage account and retrieve/rotate the access keys Creates an Azure Storage account and retrieves and rotates one of its access keys.
Migrate Blobs across storage accounts using AzCopy on Windows Migrate blobs across Azure Storage accounts using AzCopy on Windows.
Blob storage
Calculate the total size of a Blob storage container Calculates the total size of all the blobs in a container.
Calculate the size of a Blob storage container for billing purposes Calculates the size of a container in Blob storage for the purpose of estimating billing costs.
Delete containers with a specific prefix Deletes containers starting with a specified string.