I would like to delete all files from an azure storage container where the filename includes test.zip
I am able to get all the files and export them to a file like this:
$context = New-AzureStorageContext -StorageAccountName ACCOUNTNAME `
-StorageAccountKey ACCOUNTKEY
get-azurestorageblob -Container CONTAINERNAME `
-blob *test.zip `
-Context $context | Out-File c:\files\f.txt `
-width 500
What is the simplest way to delete all the results using the remove-azurestorageblob
command?