Get the Azure Firewall URL after loading powershell

How can I get the url from blob which I just downloaded using powershell. My code is currently

$storagekey=Get-AzureStorageKey -StorageAccountName appstorageacc
$ctx=New-AzureStorageContext -StorageAccountName 
appstorageacc -   StorageAccountKey $storagekey.Primary
Set-AzureStorageBlobContent -File C:\Package\StarterSite.zip 
-Container   clouddata -Context $ctx -Force

Blob loaded successfully, but how can I get it?

+4
source share
1 answer

Retrieve blob information using the Get-AzureStorageBlob cmdlet and select AbsoluteUri:

(Get-AzureStorageBlob -blob 'StarterSite.zip' -Container 'clouddata ').ICloudBlob.uri.AbsoluteUri
+4
source

Source: https://habr.com/ru/post/1615549/


All Articles