Add-VBRvCenter
Short Description
Adds a vCenter Server 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>] |
Related Commands
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 string with a full DNS name or IP address of the vCenter Server. | True | 1 | False | False |
User | Specifies the user name you want to use for authenticating with the vCenter Server. Note that the user name should be in "DOMAIN\USERNAME" format. If you use the Username/Password scenario, the -Credentials parameter must be omitted. | True | 2 | False | False |
Password | Specifies the password you want to use for authenticating with the vCenter Server. If you use the Username/Password scenario, the -Credentials parameter must be omitted. | True | 3 | False | False |
Credentials | Specifies the credentials you want to use for authenticating with the vCenter Server. If you use the Credentials scenario, the -User and -Password parameters must be omitted. | True | Named | False | False |
Port | Sets the integer specifying the number of Web service port used to connect to the vCenter Server. Default: 443 | False | Named | False | False |
Description | Specifies the description of the vCenter Server. If not set, Veeam Backup & Replication will enter date and time of creation by default. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
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.