From c4c9300f47ae7d86b7495516bd300bc80c8abe30 Mon Sep 17 00:00:00 2001 From: Taharez Date: Tue, 2 May 2017 10:29:50 +0200 Subject: [PATCH] Fixed deletion of old database copies in Storage --- .../AutoExportBlobRetention.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/manage/azure-automation-automated-export/AutoExportBlobRetention.ps1 b/samples/manage/azure-automation-automated-export/AutoExportBlobRetention.ps1 index 89d25746..2ae51610 100644 --- a/samples/manage/azure-automation-automated-export/AutoExportBlobRetention.ps1 +++ b/samples/manage/azure-automation-automated-export/AutoExportBlobRetention.ps1 @@ -25,6 +25,6 @@ foreach($blob in $blobs) { echo ("Deleting blob " + $blob.Name) # Delete the blob.e - Remove-AzureStorageBlob -Container $storageContainer -Context $context -Blob $blob.Name; + Remove-AzureStorageBlob -Container $storageContainerName -Context $context -Blob $blob.Name; } -} \ No newline at end of file +}