Removes cloud gateways.
Product Edition: Standard, Enterprise, Enterprise Plus
Requires a cloud provider license.
Remove-VBRCloudGateway -CloudGateway <VBRCloudGateway> [-WhatIf [<SwitchParameter>]] [-Confirm[<SwitchParameter>]] [<CommonParameters>]
This cmdlet removes selected cloud gateways from Veeam Backup & Replication console.
When you remove a cloud gateway, Veeam Backup & Replication unassigns the gateway role from the server, so it is no longer used as a cloud gateway. The actual server remains connected to Veeam Backup & Replication.
Specifies the array of cloud gateways you want to remove.
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 removes a cloud gateway represented by the '$cloudgateway' variable.
The cloud gateway is obtained with Get-VBRCloudGateway and assigned to the variable beforehand.
Remove-VBRCloudGateway -CloudGateway $cloudgateway
This command removes the selected cloud gateway.
The cloud gateway is obtained with Get-VBRCloudGateway and piped down.
Get-VBRCloudGateway -Name "Cloud gateway" | Remove-VBRCloudGateway