Disable-VBRCloudTenant
Short Description
Disables cloud tenant accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Requires a cloud provider license.
Syntax
Detailed Description
This cmdlet disables a cloud tenant account. When you disable a tenant account, the tenant cannot use their account resources. You can disable the cloud tenant accounts of the following types:
- Simple cloud tenant accounts
- vCD Cloud tenant accounts
Run Enable-VBRCloudTenant to enable a disabled account.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
CloudTenant | Specifies the array of cloud tenant accounts you want to disable. 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 disable 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 Disable-VBRCloudTenant with the CloudTenant parameter. Use the $tenant variable to specify the vCD cloud tenant.
Example 2
This example shows how to disable several cloud tenant accounts.
- Run Get-VBRCloudTenant with the Name parameter to get the necessary tenant. Save the result to the $tenant variable.
- Run Disable-VBRCloudTenant with the CloudTenant parameter. Use the $tenant variable to specify the cloud tenant.
$tenant = Get-VBRCloudTenant -Name "ABC Company Tenant", "vCD Tenant" Disable-VBRCloudTenant -CloudTenant $tenant |
Related Commands