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

Enable-VBRCloudTenant

Short Description

Enables disabled cloud tenant accounts.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Requires a cloud provider license.

Syntax

Enable-VBRCloudTenant -CloudTenant <IVBRTenant[]> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet enables selected cloud tenant accounts that were previously disabled. You can enable the cloud tenants accounts of the following types:

  • Simple cloud tenant accounts
  • vCD Cloud tenant accounts

Run Disable-VBRCloudTenant to disable the tenant account.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

CloudTenant

Specifies an array of cloud tenant accounts you want to enable.

Accepts the VBRCloudTenant type.

True

Named

True (ByValue,
ByProperty
Name)

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

None

Example 1

This example shows how to enable a vCD cloud tenant account.

  1. Run Get-VBRCloudTenant with the Name parameter to get the necessary vCD cloud tenant. Save the result to the $tenant variable.
  2. Run Enable-VBRCloudTenant with the CloudTenant parameter. Use the $tenant variable to specify the vCD cloud tenant.

$tenant = Get-VBRCloudTenant -Name "vCD Tenant"

Enable-VBRCloudTenant-CloudTenant $tenant

Example 2

This example shows how to enable several cloud tenant accounts.

  1. Run Get-VBRCloudTenant with the Name parameter to get the necessary tenant. Save the result to the $cloudtenants variable.
  2. Run Enable-VBRCloudTenant with the $cloudtenants.

$cloudtenants = Get-VBRCloudTenant -Name "ABC Company Tenant", "vCD Tenant"

Enable-VBRCloudTenant -CloudTenant $cloudtenants

Related Commands

Get-VBRCloudTenant