Add-VBRAdCloudTenant
Short Description
Creates Active Directory tenant accounts.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AddCredentialsAdd-VBRAdCloudTenant -Name <String> -Domain <String> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-EnableThrottling]
[-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] -DomainUrl <String> [-DomainPort <Int32>] [-DomainUsername <String>]
[-DomainUserPassword <String>] [<CommonParameters>]
-
DomainCredentialsAdd-VBRAdCloudTenant -Name <String> -Domain <String> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-EnableThrottling]
[-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] -DomainUrl <String> [-DomainPort <Int32>] [-DomainCredentials <CCredentials>] [<CommonParameters>]
-
ServiceAccountAdd-VBRAdCloudTenant -Name <String> -Domain <String> [-Description <String>] [-EnableLeaseExpiration]
[-LeaseExpirationDate <DateTime>] [-Resources <VBRCloudTenantResource[]>] [-EnableThrottling]
[-ThrottlingValue <Decimal>] [-ThrottlingUnit <VBRSpeedUnit>] [-MaxConcurrentTask <Int32>]
[-EnableBackupProtection] [-BackupProtectionPeriod <Int32>]
[-GatewaySelectionType <VBRCloudGatewaySelectionType>] [-GatewayPool <VBRCloudGatewayPool[]>]
[-EnableGatewayFailover] -DomainUrl <String> [-DomainPort <Int32>] [-UseServiceAccount] [<CommonParameters>]
Detailed Description
This cmdlet creates Active Directory tenant accounts.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupProtectionPeriod |
For the Specifies the number of days to keep the tenant's deleted backups on the service provider side. Can be set to 1–99. |
|
False |
Named |
False |
|
Description |
Specifies the description of the simple tenant account. |
|
False |
Named |
False |
|
Domain |
Specifies a domain name where an Active Directory user is located. |
|
True |
Named |
False |
|
DomainCredentials |
Specifies the credentials that the cmdlet will use 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. |
|
True |
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's 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 |
|
EnableThrottling |
Enables the network throttling to set the bandwidth limitations.
Provide the |
|
False |
Named |
False |
|
GatewayPool |
Specifies the gateway pool. 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 |
|
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 |
|
Name |
Specifies an Active Directory user for which you want to create a tenant account. The cmdlet will create a tenant account with this user. |
|
True |
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 to create a tenant account, 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
Examples
Adding Active Directory Tenant Account
This example shows how to create the jane.doe Active Directory tenant account with the following settings:
- The backup resources option is enabled.
- The user is located on the
tech.localdomain controller. - The URL of the domain controller is
dc01.tech.local. - Veeam Backup & Replication uses the
Administratoruser and theSecurePa$$password to verify that thejane.doeuser is added to thedc01.tech.localdomain.
|
$repository = Get-VBRBackupRepository -Name "SilverRepository" $backupresources = New-VBRCloudTenantResource -Repository $repository -RepositoryFriendlyName "Standard Tier Repository" -Quota 10 Add-VBRaDCloudTenant -Name "jane.doe" -Domain "tech.local" -DomainUrl "dc01.tech.local" -DomainUsername "Administrator" -DomainUserPassword "SecurePa$$" -Resources $backupresources |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
New-VBRCloudTenantResourceCreates the VBRCloudTenantResource objects that contain backup resources. cmdlet. Specify theRepository,RepositoryFriendlyNameand theQuotaparameter values. Save the result to the$backupresourcesvariable. - Run the
Add-VBRaDCloudTenantcmdlet. Specify the following settings:- Specify the
Nameparameter value. - Specify the
Domainparameter value.
- Specify the
DomainUrlparameter value. - Specify the
DomainUsernameparameter value. - Specify the
DomainUserPasswordparameter value. - Set the
$backupresourcesvariable as theResourcesparameter value.
- Specify the
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.New-VBRCloudTenantResourceCreates the VBRCloudTenantResource objects that contain backup resources.