Short Description
Enables disabled cloud subuser accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Enable-VBRCloudSubUser -SubUser <VBRCloudSubUser[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet enables selected cloud subuser accounts that were previously disabled. You can disable accounts by running Disable-VBRCloudSubUser.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
SubUser | Specifies the array of cloud subusers you want to enable. The subusers can have different parents. Accepts VBRCloudSubUser 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 subuser.
- Run Get-VBRCloudSubUser to get the subuser. Save the result to the $subuser variable.
- Run Enable-VBRCloudSubUser with the saved variable.
PS C:\PS> $subuser = Get-VBRCloudSubUser -Name "Subuser 1" PS C:\PS> Enable-VBRCloudSubUser -SubUser $subuser |
Related Commands