Enable-VBRCloudSubUser

Short Description

Enables disabled cloud subuser accounts.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Enable-VBRCloudSubUser -SubUser <IVBRCloudSubUser[]> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

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

  • Simple cloud tenant accounts
  • Cloud Director tenant accounts

Run the Disable-VBRCloudSubUser cmdlet to disable the subtenant account.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

SubUser

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

Accepts the IVBRCloudSubUser[] object.  To get this object, run the Get-VBRCloudSubUser 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

Enabling Cloud Subuser

This example shows how to enable a cloud subuser.

$subuser = Get-VBRCloudSubUser -Name "Subuser 1"

Enable-VBRCloudSubUser -SubUser $subuser

Perform the following steps:

  1. Run the Get-VBRCloudSubUser cmdlet. Specify the Name parameter value. Save the result to the $subuser variable.
  2. Run the Enable-VBRCloudSubUser cmdlet. Set the $subuser variable as the SubUser parameter value.

Related Commands

Get-VBRCloudSubUser

Page updated 4/24/2024

Page content applies to build 12.2.0.334