This is an archive version of the document. To get the most up-to-date information, see the current version.

Enable-VBRCloudGatewayPool

Short Description

Enables disabled cloud gateway pools.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Enable-VBRCloudGatewayPool -CloudGatewayPool <VBRCloudGatewayPool[]> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet enables cloud gateway pools that have been disabled.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

CloudGatewayPool

Specifies an array of cloud gateway pools you want to enable.

Accepts the VBRCloudGatewayPool type.

True

Named

True (ByValue,
ByPropertyName)

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

Example

This example shows how to enable a cloud gateway pool.

  1. Run Get-VBRCloudGatewayPool to get the gateway pool, that you want to enable. Save the result to the $pool variable.
  2. Run Enable-VBRCloudGatewayPool with the $pool variable.

$pool = Get-VBRCloudGatewayPool -Name "New Cloud Pool"

Enable-VBRCloudGatewayPool -CloudGatewayPool $pool

Related Commands

Get-VBRCloudGatewayPool