PowerShell ile bir storage account icindeki dosyayi bir digerine kopyalamak

Bu dosyayi

asagidaki storage account icine kopyalayacagiz.

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

sonuc