I see some syntaxial issues so here is a chunk of code I used to take backups from an RSV and move them to a less expensive storage account. I used this for a client who had created several backup plans on a 5 TB premium storage account and realized that was a bad idea after his bill tripled.
$RG = 'StorageSnapTest'
$RSV = 'Backups-rsv'
$RSV_RG = 'Management-rg'
$stgSrc = 'stgautomationsource'
$stgDst = 'stgautomationdest'
$target = 'filesrecovered'
$vault = Get-AzRecoveryServicesVault -ResourceGroupName $RSV_RG -Name $RSV
$container = Get-AzRecoveryServicesBackupContainer -ContainerType AzureStorage -Status Registered -VaultId $vault.ID -FriendlyName $stgSrc
$backupItem = Get-AzRecoveryServicesBackupItem -Container $container -WorkloadType AzureFiles -VaultId $vault.ID
$rp = (Get-AzRecoveryServicesBackupRecoveryPoint -Item $backupItem -VaultId $vault.ID)
$context_acct = (Get-AzStorageAccount -ResourceGroupName $RG -Name $stgDst).Context
foreach($snap in $rp) {
[string] $uri = $snap.FileShareSnapshotUri
[string] $restoreFolder = ($uri.Substring($uri.IndexOf("sharesnapshot=")).Replace(':', '_'))
try {
(Get-AzStorageShare -Context $context_acct -Name $target) | New-AzStorageDirectory -Path $restoreFolder | Out-Null
} catch {}
$restoreJob = Restore-AzRecoveryServicesBackupItem -VaultLocation $vault.Location -RecoveryPoint $snap -TargetStorageAccountName $stgDst -TargetFileShareName $target -TargetFolder $restoreFolder -ResolveConflict Overwrite -VaultId $vault.ID
}