I found this answer while trying to delete the entire container. Using Rick's answer as a template, I came up with this trial option: if you determine which containers will be deleted:
$ctx = New-AzureStorageContext -StorageAccountName $AzureAccount ` -StorageAccountKey $AzureAccountKey $isOldDate = [DateTime]::UtcNow.AddDays(-7) Get-AzureStorageContainer -Context $ctx ` | Where-Object { $_.LastModified.UtcDateTime -lt $isOldDate } ` | Remove-AzureStorageContainer -WhatIf
Then, when I was satisfied that the list should be deleted, I used -Force to not check every removal:
Get-AzureStorageContainer -Context $ctx ` | Where-Object { $_.LastModified.UtcDateTime -lt $isOldDate } ` | Remove-AzureStorageContainer -Force
source share