Short Description
Enables disabled cloud subtenant accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Enable-VBRCloudSubTenant -SubTenant <VBRCloudSubTenant[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet enables selected cloud subtenant accounts that were previously disabled. You can disable accounts by running Disable-VBRCloudSubTenant.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
SubTenant | Specifies the array of cloud subtenant you want to enable. The subtenants can have different parents. Accepts VBRCloudSubTenant type. | True | Named | True (ByValue, | 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
None
Example
This example shows how to enable a cloud subtenant.
- Run Get-VBRCloudSubTenant to get the subtenant. Save the result to the $subtenant variable.
- Run Enable-VBRCloudSubTenant with the saved variable.
PS C:\PS> $subtenant = Get-VBRCloudSubTenant -Name "Alpha" PS C:\PS> Enable-VBRCloudSubTenant -SubTenant $subtenant |
Related Commands