Remove-VBRCloudSubUser
Short Description
Removes cloud subuser accounts.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VBRCloudSubUser -SubUser <IVBRCloudSubUser[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a selected cloud subuser account from Veeam Backup & Replication. You can remove the subuser accounts of the following types:
- Simple cloud tenant accounts
- Cloud Director tenant accounts
When you remove a subuser, all backups stored on the cloud repository on this subuser are removed permanently. The parent cloud user cannot undo this operation. The resources associated with this subuser account becomes available for use by the cloud user.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
SubUser |
Specifies the array of cloud subusers you want to remove. The subusers can have different parents.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Removing Cloud Subuser
This example shows how to remove a cloud subuser.
|
$subuser = Get-VBRCloudSubUser -Name "Subuser 1" Remove-VBRCloudSubUser -SubUser $subuser |
Perform the following steps:
- Run the
Get-VBRCloudSubUserReturns cloud subuser accounts. cmdlet. Specify theNameparameter value. Save the result to the$subuservariable. - Run the
Remove-VBRCloudSubUsercmdlet. Set the$subuservariable as theSubUserparameter value.
Related Commands
Get-VBRCloudSubUserReturns cloud subuser accounts.