From 9c330d595e41ddedc28f600e972d0abce1b3f0be Mon Sep 17 00:00:00 2001 From: Julian Pawlowski <75446+jpawlowski@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:15:40 +0200 Subject: [PATCH] Remove SAS token from output when uploading to Azure Storage --- Runbooks/Common_0000__Write-CsvOutput.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Runbooks/Common_0000__Write-CsvOutput.ps1 b/Runbooks/Common_0000__Write-CsvOutput.ps1 index 414996c..8901dd3 100644 --- a/Runbooks/Common_0000__Write-CsvOutput.ps1 +++ b/Runbooks/Common_0000__Write-CsvOutput.ps1 @@ -1,5 +1,5 @@ <#PSScriptInfo -.VERSION 1.0.0 +.VERSION 1.0.1 .GUID 7086a21d-f021-4f05-99a7-ec2a6de6f749 .AUTHOR Julian Pawlowski .COMPANYNAME Workoho GmbH @@ -12,8 +12,8 @@ .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES - Version 1.0.0 (2024-05-30) - - Initial release. + Version 1.0.1 (2024-06-04) + - Remove SAS token from output when uploading to Azure Storage #> <# @@ -182,7 +182,7 @@ try { throw "Invalid storage type '$storageType'. The storage type must be 'blob' or 'file." } - Write-Output "CSV file uploaded to $StorageUri" + Write-Output "CSV file uploaded to $($uri.GetLeftPart([System.UriPartial]::Path))" } else { Write-Output $(