Enables disabled cloud gateways.
Product Edition: Standard, Enterprise, Enterprise Plus
Requires a cloud provider license.
Enable-VBRCloudGateway -CloudGateway <VBRCloudGateway> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
This cmdlet enables selected cloud gateways, that were previously disabled.
Specifies the array of cloud gateway you want to enable.
Accepts the VBRCloudGateway type.
Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.
Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command enables a cloud gateway represented by the '$cloudgateway' variable.
The cloud gateway is obtained with Get-VBRCloudGateway and assigned to the variable beforehand.
PS C:\PS> Enable-VBRCloudGateway -CloudGateway $cloudgateway
This command enables two cloud gateways.
The cloud gateways are obtained with Get-VBRCloudGateway and piped down.
PS C:\PS> Get-VBRCloudGateway -Name "Cloud gateway", "Cloud gateway 01" | Enable-VBRCloudGateway