Add-VBRvCloudVC
Short Description
Adds vCenter Server managed by Cloud Director to Veeam Backup & Replication.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Add a vCenter Server managed by the Cloud Director using the user name/password scenario.
Add-VBRvCloudVC -vCloudServer <CHost> -VCInfo <CVcdVcInfo> -User <string> -Password <string> [-Name <string>] [-Port <int>] [-Description <string>] [-Force] [<CommonParameters>] |
- Add a vCenter Server managed by the Cloud Director using the credentials scenario.
Add-VBRvCloudVC -vCloudServer <CHost> -VCInfo <CVcdVcInfo> -Credentials <CCredentials> [-Name <string>] [-Port <int>] [-Description <string>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet adds a new vCenter Server to Veeam Backup & Replication infrastructure. The vCenter Server is registered as a part of Cloud Director.
Note: |
Run the Add-VBRvCloud cmdlet to add a Cloud Director server to Veeam Backup & Replication infrastructure. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
vCloudServer | Specifies the Cloud Director server you want to connect a vCenter to. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | True | 0 | True (ByValue, |
VCInfo | Specifies the vCenter Server you want to connect to the Cloud Director. | Accepts the CVcdVcInfo object. To get this object, run the Find-VBRvCloudEntity cmdlet. | True | 1 | False |
User | Specifies the user name you want to use for authenticating with the vCenter Server. If you use the User/Password scenario, the Credentials parameter must be omitted. | String | True | 2 | False |
Password | Specifies the password you want to use for authenticating with the vCenter Server. If you use the User/Password scenario, the Credentials parameter must be omitted. | String | True | 3 | 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. | Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet. | True | Named | False |
Name | Specifies the DNS name or IP address of the vCenter Server you want to connect. | String | False | Named | False |
Port | Specifies the web-service port number. If not set, the default port number 443 will be used. Note: When you customize the port number, you must set this port on the vCenter Server/ESXi host settings first. | Int | False | Named | False |
Description | Specifies the description of the vCenter Server. If not set, the default description containing the user name of the user who created the record and date and time of creation will be used. | String | False | Named | False |
Force | Defines that the cmdlet will add a vCenter Server without showing warnings in the PowerShell console. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
CHost
Examples
Example 1. Adding vCenter Server with User Name and Password [Using Pipeline]
This example shows how to add a new vCenter Server with the following parameters:
Perform the following steps:
|
Example 2. Adding vCenter Server with Saved Credentails [Using Variable]
This command adds a new vCenter Server with the following parameters:
Perform the following steps:
|
Related Commands