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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

CloudGatewayPool

Specifies an array of cloud gateway pools that you want to disable.

Accepts the VBRCloudGatewayPool[] object. To get this object, run the Get-VBRCloudGatewayPoolReturns cloud gateway pools. cmdlet.

VBRCloudGatewayPool[]

True

Named

True (ByValue)

Force

Defines that the cmdlet will not show the notification about the active sessions of tenants.

SwitchParameter

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 Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false.

SwitchParameter

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.

SwitchParameter

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:

  1. Run the Get-VBRCloudGatewayPoolReturns cloud gateway pools. cmdlet. Specify the Name parameter value. Save the result to the $pool variable.
  2. Run the Disable-VBRCloudGatewayPool cmdlet. Set the $pool variable as the CloudGatewayPool parameter value.

Get-VBRCloudGatewayPoolReturns cloud gateway pools.

Page updated 2026-08-19

Page content applies to build 13.1.1.18