Add-VBRvCenter
Short Description
Adds vCenter Servers to Veeam Backup & Replication.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Add-VBRvCenter [-Name] <String> [-User] <String> [-Password] <String> [-Port <Int32>] [-Description <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] -OR- Add-VBRvCenter [-Name] <String> [-Port <Int32>] [-Description <String>] -Credentials <CCredentials> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet allows you to add a vCenter Server to Veeam Backup & Replication.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the full DNS name or IP address of the vCenter Server. | True | 1 | False | False |
User | Specifies the user name that you want to use for authenticating with the vCenter Server. Note: The user name must be in the "DOMAIN\USERNAME" format. | True | 2 | False | False |
Password | Specifies the password you want to use for authenticating with the vCenter Server. | True | 3 | False | False |
Credentials | Specifies the credentials you want to use for authenticating with the vCenter Server. | True | Named | False | False |
Port | Specifies the Web service port for connection to the vCenter Server. Default: 443 | False | Named | False | False |
Description | Specifies the description of the vCenter Server. | 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.
Example 1
This command adds the vCenter Server named "vc25.domain.local" using a username and a password. The user name is "Administrator" and the password is "Password".
Add-VBRvCenter -Name "vc25.domain.local" -User "Domain\Administrator" -Password "Password" -Description "vcdev25 vCenter Server" |
Example 2
This command adds the vCenter Server named "vc25.domain.local" using credentials. The credentials record is obtained with Get-VBRCredentials and assigned to the '$vc_administrator' variable beforehand.
Add-VBRvCenter -Name "vc25.domain.local" -Description "vcdev25 vCenter Server" -Credentials $vc_administrator |
Related Commands