I'm using Get-AzureStorageBlobContent command to get the blob which holds version of my app:
$latestDeployment = (Get-AzureStorageBlobContent -Blob app.version -Container container -Context $blobContext)
This command saves it as a file to the disk, while I would like to load it to memory and just read the content without saving anything. Is it possible using powershell?
This should work
$latestDeploymentBlob = Get-AzureStorageBlob -Blob app.version -Container $container -Context $blobContext
$latestDeployment = $latestDeploymentBlob.ICloudBlob.DownloadText()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With