Set-VBOProxyPool
Short Description
Modifies settings of a backup proxy pool.
Syntax
|
Set-VBOProxyPool -Pool <VBOProxyPool> [-Name <String>] [-Description <String>] [-Proxies <VBOProxy[]>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of a backup proxy pool that is added to the Veeam Backup for Microsoft 365 infrastructure. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Description |
Specifies a description of the backup proxy pool. The cmdlet will replace the current description with the specified description. |
|
False |
Named |
False |
|
Name |
Specifies a new name of the backup proxy pool. The cmdlet will replace the current name with the specified name. |
|
False |
Named |
False |
|
Pool |
Specifies a backup proxy pool that you want to modify.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Proxies |
Specifies an array of backup proxy servers. The cmdlet will add these backup proxy servers to the backup proxy pool.
Accepts the
To create this object, run the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOProxyPool object that contains settings of a backup proxy pool added to the Veeam Backup for Microsoft 365 backup infrastructure.
Examples
Modifying Backup Proxy Pool
This example shows how change a list of backup proxy servers added to the Pool1 backup proxy pool.
|
$proxy1 = Get-VBOProxy -Hostname 172.70.53.35 $proxy2 = Get-VBOProxy -Hostname linux01 $proxy3 = Get-VBOProxy -Hostname linux02 $newproxiesArray = $proxy1,$proxy2,$proxy3 $pool = Get-VBOProxyPool -Name "Pool1" Set-VBOProxyPool -Pool $pool -Proxies $newproxiesArray |
Perform the following steps:
- Run the
Get-VBOProxyReturns backup proxy servers added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Specify theHostnameparameter value. Save the result to the$proxy1variable. - Run the
Get-VBOProxyReturns backup proxy servers added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Specify theHostnameparameter value. Save the result to the$proxy2variable. - Run the
Get-VBOProxyReturns backup proxy servers added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Specify theHostnameparameter value. Save the result to the$proxy3variable. - Set the
$newproxiesArrayvariable value to the sequence of the$proxy1,$proxy2and$proxy3variables. - Run the
Get-VBOProxyPoolReturns backup proxy pools added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$poolvariable. - Run the
Set-VBOProxyPoolcmdlet. Set the$poolvariable as thePoolparameter value. Set the$newproxiesArrayvariable as theProxiesparameter value.
Related Commands
Get-VBOProxyReturns backup proxy servers added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOProxyPoolReturns backup proxy pools added to the Veeam Backup for Microsoft 365 infrastructure.