We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b061f commit e147651Copy full SHA for e147651
Azure/Invoke-AzureBlobsProtect.ps1
@@ -60,11 +60,12 @@ Connect-Rubrik $RubrikServer -Credential $RubrikCred
60
$mv = Get-RubrikManagedVolume -Name $MVName
61
$mv | Start-RubrikManagedVolumeSnapshot
62
63
-$AzCopyFullPath = ".\AzCopy.exe"
+$AzCopyFullPath = ".\azcopy.exe"
64
if ($AzCopyPath) {
65
$AzCopyFullPath = Join-Path -Path $AzCopyPath -ChildPath "AzCopy.exe"
66
}
67
68
-Invoke-Expression $AzCopyFullPath cp "$SourceBlobsContainer" "$TargetMV" --recursive
+$Command = "$AzCopyFullPath copy '$SourceBlobsContainer' '$TargetMV' --recursive"
69
+Invoke-Expression $Command
70
71
$mv | Stop-RubrikManagedVolumeSnapshot
0 commit comments