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

Enable-VBRCloudSubTenant

Short Description

Enables disabled cloud subtenant accounts.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Enable-VBRCloudSubTenant -SubTenant <IVBRCloudSubTenant[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

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

  • Simple cloud subtenant accounts
  • vCD Cloud subtenant accounts

Run Disable-VBRCloudSubTenant.to disable the subtenant account.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

SubTenant

Specifies the array of cloud subtenants that you want to enable. The subtenants can have different parents.

Accepts the VBRCloudSubTenant 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

This example shows how to enable a cloud subtenant.

  1. Run Get-VBRCloudSubTenant to get the subtenant. Save the result to the $subtenant variable.
  2. Run Enable-VBRCloudSubTenant with the $subtenant variable.

$subtenant = Get-VBRCloudSubTenant -Name "Alpha"

Enable-VBRCloudSubTenant -SubTenant $subtenant

Related Commands

Get-VBRCloudSubTenant