Set-VBRAdCloudTenant
Short Description
Modifies Active Directory tenant accounts.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Set-VBRAdCloudTenant -CloudTenant <VBRAdCloudTenant> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-HashedPassword] [-EnableResources]
[-EnableThrottling] [-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-PassThru] [-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] [-DomainUrl <String>] [-DomainPort <Int32>] [<CommonParameters>]
-
AddCredentialsSet-VBRAdCloudTenant -CloudTenant <VBRAdCloudTenant> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-HashedPassword] [-EnableResources]
[-EnableThrottling] [-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-PassThru] [-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] [-DomainUrl <String>] [-DomainPort <Int32>] [-DomainUsername <String>]
[-DomainUserPassword <String>] [<CommonParameters>]
-
DomainCredentialsSet-VBRAdCloudTenant -CloudTenant <VBRAdCloudTenant> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-HashedPassword] [-EnableResources]
[-EnableThrottling] [-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-PassThru] [-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] [-DomainUrl <String>] [-DomainPort <Int32>] [-DomainCredentials <CCredentials>] [<CommonParameters>]
-
ServiceAccountSet-VBRAdCloudTenant -CloudTenant <VBRAdCloudTenant> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-HashedPassword] [-EnableResources]
[-EnableThrottling] [-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-PassThru] [-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] [-DomainUrl <String>] [-DomainPort <Int32>] [-UseServiceAccount] [<CommonParameters>]
Detailed Description
This cmdlet modifies Active Directory tenant accounts.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupProtectionPeriod |
For the Specifies the number of days to keep the tenant deleted backups on the service provider side.
Permitted values: |
|
False |
Named |
False |
|
CloudTenant |
Specifies an Active Directory tenant account that you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Description |
Specifies the description of the simple tenant account. |
|
False |
Named |
False |
|
DomainCredentials |
Specifies that the cmdlet will use the domain credentials to connect to the domain controller. |
|
False |
Named |
False |
|
DomainPort |
Specifies a port number which will be used to connect to the domain. |
|
False |
Named |
False |
|
DomainUrl |
Specifies a URL of the domain controller. The cmdlet will connect to this domain controller to verify that the user, for whom you want to create a tenant account, exists in Active Directory and this user is available. |
|
False |
Named |
False |
|
DomainUsername |
Specifies a name of a user who has permissions to get a list of the users from the domain controller. |
|
False |
Named |
False |
|
DomainUserPassword |
Specifies a password of a user who has permissions to get a list of the users from the domain controller. |
|
False |
Named |
False |
|
EnableBackupProtection |
Prevents the tenant backups from complete removal. With this option, the tenant's deleted backups will be placed to the recycle bin on the service provider's side. The backups will be kept in the bin for the specified protection period. When this period ends, the backups are removed permanently.
To specify the protection period, provide the |
|
False |
Named |
False |
|
EnableGatewayFailover |
Enables gateway pool failover option. In case the gateway pool is down, Veeam Backup & Replication will route the data through the gateway that is not added to any gateway pool. |
|
False |
Named |
False |
|
EnableLeaseExpiration |
Defines that an Active Directory tenant account must use lease expiration settings.
Provide the |
|
False |
Named |
False |
|
EnableResources |
Defines that the cmdlet will assign cloud repository resources to the tenant account. |
|
False |
Named |
False |
|
EnableThrottling |
Enables the network throttling to set the bandwidth limitations.
Provide the |
|
False |
Named |
False |
|
GatewayPool |
Specifies the array of the gateway pools. Veeam Backup & Replication will route the data through the specified gateway pool.
Accepts the |
False |
Named |
False |
|
|
GatewaySelectionType |
Specifies the type of gateway, you want to assign to the Cloud Director tenant accounts.
|
|
False |
Named |
False |
|
HashedPassword |
Defines that you submit the hashed password. The hashed passwords are stored in the Veeam backup database. Use this parameter, for example, to restore tenant accounts. |
|
False |
Named |
False |
|
LeaseExpirationDate |
For the Specifies the lease expiration date.
Default: |
|
False |
Named |
False |
|
MaxConcurrentTask |
Specifies the maximum number of tasks the tenant can process in parallel. The number of tasks is the number of VM disks processed by one job targeted at the cloud repository or cloud host. |
|
False |
Named |
False |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
|
Resources |
Specifies an array of backup resource quotas you want to allocate to the simple tenant account.
You must set the Note: When you assign multiple resource quotas to one tenant account, the resource quotas must have unique Repository Friendly Names and they must use different repositories.
Accepts the |
False |
Named |
False |
|
|
ThrottlingUnit |
For the Specifies the measure units for the bandwidth value. You can select either of the following:
Default: |
|
False |
Named |
False |
|
ThrottlingValue |
For the Specifies the maximum bandwidth value in Mbps for transferring the tenant data to the SP side. |
|
False |
Named |
False |
|
UseServiceAccount |
Defines that the cmdlet will use the account under which the Veeam Backup Service runs to connect to the domain controller. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRaDCloudTenant object that defines settings of Active Directory tenant accounts.
Examples
Modifying Active Directory Tenant Account
This example shows how to modify the jane.doe Active Directory tenant account. The cmdlet will enable the backup protection option to keep the tenant deleted backups on the service provider side for 10 days.
|
$tenant = Get-VBRCloudTenant -Name "jane.doe" Set-VBRAdCloudTenant -CloudTenant $tenant -EnableBackupProtection -BackupProtectionPeriod "10" |
Perform the following steps:
- Run the
Get-VBRCloudTenantReturns cloud tenant accounts. cmdlet. Specify theNameparameter value. Save the result to the$tenantvariable. - Run the
Set-VBRAdCloudTenantcmdlet. Specify the following settings:- Set the
$tenantvariable as theCloudTenantparameter value. - Provide the
EnableBackupProtectionparameter. - Specify the
BackupProtectionPeriodparameter value.
- Set the
Related Commands
Get-VBRCloudTenantReturns cloud tenant accounts.