Enable-VBRCloudSubTenant
Short Description
Enables disabled cloud subtenant accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
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
- Cloud Director subtenant accounts
Run the Disable-VBRCloudSubTenant cmdlet to disable the subtenant account.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
SubTenant | Specifies the array of cloud subtenants that you want to enable. The subtenants can have different parents. | Accepts the IVBRCloudSubTenant[] object. To get this object, run the Get-VBRCloudSubTenant cmdlet. | True | Named | True (ByValue, |
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
Enabling Cloud Subtenant
This example shows how to enable a cloud subtenant.
$subtenant = Get-VBRCloudSubTenant -Name "Alpha" Enable-VBRCloudSubTenant -SubTenant $subtenant |
Perform the following steps:
- Run the Get-VBRCloudSubTenant cmdlet. Specify the Name parameter value. Save the result to the $subtenant variable.
- Run the Enable-VBRCloudSubTenant cmdlet. Set the $subtenant variable as the SubTenant parameter value.
Related Commands