PowerShell ile Azure storage account’lar arasi dosya kopyalamak

adimlari izleyerek kopyala islemini gerceklestirebilirsiniz

PowerShell
$sourceStrKey = 'srhrshrsthr'
$destionationStrKey = 'teshsthrsthrth'
Start-AzStorageBlobCopy `
 -SrcBlob "zort.txt" `
 -SrcContainer "test" `
 -SrcContext (New-AzStorageContext -StorageAccountName "rbacstracc" -StorageAccountKey $sourceStrKey) `
 -DestContainer "test2" `
 -DestBlob "testYeni.txt" `
 -DestContext (New-AzStorageContext -StorageAccountName "forfuncapp" -StorageAccountKey $destionationStrKey) `
| Out-Null

Leave a Reply

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