Press "Enter" to skip to content

Script: change proxy on all jobs

Use the following script to edit all your backup jobs and force the selection of certain proxy servers:

Add-PsSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue
$serverName = "This server"
$server = Get-VBRServer -Name $serverName

$proxy_1=Get-VBRViProxy -Name "proxy name here"
$proxy_2=Get-VBRViProxy -Name "proxy name here"
$proxy_n=Get-VBRViProxy -Name "proxy name here"


foreach ($job in $jobs){
Set-VBRJobProxy - Job $job -Proxy $proxy_1,$proxy_2,$proxy_n

Be First to Comment

Leave a Reply

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