Skip to content

Commit 9c330d5

Browse files
committed
Remove SAS token from output when uploading to Azure Storage
1 parent b27f3f8 commit 9c330d5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Runbooks/Common_0000__Write-CsvOutput.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<#PSScriptInfo
2-
.VERSION 1.0.0
2+
.VERSION 1.0.1
33
.GUID 7086a21d-f021-4f05-99a7-ec2a6de6f749
44
.AUTHOR Julian Pawlowski
55
.COMPANYNAME Workoho GmbH
@@ -12,8 +12,8 @@
1212
.REQUIREDSCRIPTS
1313
.EXTERNALSCRIPTDEPENDENCIES
1414
.RELEASENOTES
15-
Version 1.0.0 (2024-05-30)
16-
- Initial release.
15+
Version 1.0.1 (2024-06-04)
16+
- Remove SAS token from output when uploading to Azure Storage
1717
#>
1818

1919
<#
@@ -182,7 +182,7 @@ try {
182182
throw "Invalid storage type '$storageType'. The storage type must be 'blob' or 'file."
183183
}
184184

185-
Write-Output "CSV file uploaded to $StorageUri"
185+
Write-Output "CSV file uploaded to $($uri.GetLeftPart([System.UriPartial]::Path))"
186186
}
187187
else {
188188
Write-Output $(

0 commit comments

Comments
 (0)