Get-VBRJobProxy
Short Description
Returns proxy servers assigned to a selected job.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Get-VBRJobProxy -Job <CBackupJob[]> [-Target] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet returns source or target proxy servers assigned to a selected job. You will see the notification if the automatic proxy selection is enabled.
Run Get-VBRViProxy or Get-VBRHvProxy to get a list of all VMware or Hyper-V proxies managed by Veeam Backup & Replication.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the job for which you want to get the list proxies. You can assign multiple backup jobs to this object. | True | Named | True (ByValue, | False |
Target | If set, the command returns the list of target proxy servers. If omitted, the command returns the list of source proxy servers. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command looks for the list of target proxies assigned to the job named "Backup Job 01". The job object is obtained with Get-VBRJob and piped down.
Get-VBRJob -Name "Backup Job 01" | Get-VBRJobProxy -Target |
Example 2
This command looks for the list of source proxies assigned to the job named "Backup Job 01". The job object is obtained with Get-VBRJob and piped down.
Get-VBRJob -Name "Backup Job 01" | Get-VBRJobProxy |
Example 3
This command looks for the list of target proxies represented by the $"Job 1" variable. The job object is obtained with Get-VBRJob and assigned to the variable beforehand.
Get-VBRJobProxy -Job $"Job 1" |