Enable-VBRCloudTenant
Short Description
Enables disabled cloud tenant accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Requires a cloud provider license.
Syntax
Detailed Description
This cmdlet enables selected cloud tenant accounts that were previously disabled. You can enable the cloud tenants accounts of the following types:
- Simple cloud tenant accounts
- vCD Cloud tenant accounts
Run Disable-VBRCloudTenant to disable the tenant account.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Cloud | Specifies an array of cloud tenant accounts you want to enable. Accepts the VBRCloudTenant 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 on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
None
Example 1
This example shows how to enable a vCD cloud tenant account.
- Run Get-VBRCloudTenant with the Name parameter to get the necessary vCD cloud tenant. Save the result to the $tenant variable.
- Run Enable-VBRCloudTenant with the CloudTenant parameter. Use the $tenant variable to specify the vCD cloud tenant.
Example 2
This example shows how to enable several cloud tenant accounts.
- Run Get-VBRCloudTenant with the Name parameter to get the necessary tenant. Save the result to the $cloudtenants variable.
- Run Enable-VBRCloudTenant with the $cloudtenants.
$cloudtenants = Get-VBRCloudTenant -Name "ABC Company Tenant", "vCD Tenant" Enable-VBRCloudTenant -CloudTenant $cloudtenants |
Related Commands