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 +}