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 the Disable-VBRCloudTenant cmdlet to disable the tenant account.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

CloudTenant

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

Accepts the VBRCloudTenant[] object. To get this object, run the Get-VBRCloudTenant cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

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

Confirm

Defines that the cmdlet will display a prompt that asks if you want to continue running the command.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

Enable-VBRCloudTenantExample 1. Enabling vCD Cloud Tenant Account

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

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

Enable-VBRCloudTenant -CloudTenant $tenant

Perform the following steps:

  1. Run the Get-VBRCloudTenant cmdlet. Specify the Name parameter. Save the result to the $tenant variable.
  2. Run the Enable-VBRCloudTenant cmdlet. Provide the CloudTenant parameter. Set the $tenant variable as the CloudTenant parameter value.

Enable-VBRCloudTenantExample 2. Enabling Several Cloud Tenant Accounts

This example shows how to enable several cloud tenant accounts.

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

Enable-VBRCloudTenant -CloudTenant $cloudtenants

Perform the following steps:

  1. Run the Get-VBRCloudTenant cmdlet. Specify the Name parameter. Save the result to the $cloudtenants variable.
  2. Run the Enable-VBRCloudTenant cmdlet. Set the $cloudtenants variable as the CloudTenant parameter value.

Related Commands

Get-VBRCloudTenant