PowerShell ile Azure Storage Account Container Icerisinden Dosya Indirmek

Storage Account icerisindeki Container’lerden birinde bulunan bir dosyayi indirmedek icin asagidaki komutlari kullanabiliriz. Oncesinde Storage Access Key’i Portal’den ya da PowerShell yardimiyla alip Context olusturmayi unutmayalim lutfen.

$context = New-AzStorageContext -StorageAccountName rbacstracc
-StorageAccountKey “xxxxxxxxxxxxxx”
$BlobConfig = @{
Blob = ‘testdosyasi1.txt’
Container = ‘klasor1’
Destination = ‘D:\temp\’
Context = $Context
}
Get-AzStorageBlobContent @BlobConfig


Leave a Reply

Your email address will not be published. Required fields are marked *