Disable-VBRCloudGatewayPool
Short Description
Disables cloud gateway pools.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRCloudGatewayPool -CloudGatewayPool <VBRCloudGatewayPool[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet disables selected cloud gateway pools. Disabling a cloud gateway pool temporarily suspends all operations on it.
Run the Enable-VBRCloudGatewayPoolEnables disabled cloud gateway pools. cmdlet to enable the disabled cloud gateway pools.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CloudGatewayPool |
Specifies an array of cloud gateway pools that you want to disable.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Force |
Defines that the cmdlet will not show the notification about the active sessions of tenants. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Disabling Cloud Gateway Pool
This example shows how to disable a cloud gateway pool.
|
$pool = Get-VBRCloudGatewayPool -Name "New Cloud Pool" Disable-VBRCloudGatewayPool -CloudGatewayPool $pool |
Perform the following steps:
- Run the
Get-VBRCloudGatewayPoolReturns cloud gateway pools. cmdlet. Specify theNameparameter value. Save the result to the$poolvariable. - Run the
Disable-VBRCloudGatewayPoolcmdlet. Set the$poolvariable as theCloudGatewayPoolparameter value.
Related Commands
Get-VBRCloudGatewayPoolReturns cloud gateway pools.