Add-VBRESXi
Short Description
Adds VMware ESXi hosts to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AddCredentialsAdd-VBRESXi [-Name] <String> [-User] <String> [-Password] <String> [-Port <Int32>] [-Description <String>]
[-Force] [<CommonParameters>]
-
CredentialsAdd-VBRESXi [-Name] <String> [-Port <Int32>] [-Description <String>] -Credentials <CCredentials> [-Force] [<CommonParameters>]
Detailed Description
This cmdlet adds VMware ESXi hosts to the backup infrastructure.
Note |
|
If an ESXi host is a part of a vCenter Server, it is recommended to add the vCenter Server instead of a single ESXi host. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the ESXi server.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies the description of the ESXi server. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will add VMware ESXi hosts without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Name |
Specifies the full DNS name or IP address of the ESXi host. |
|
True |
0 |
False |
|
Password |
Specifies the password you want to use for authenticating with the ESXi host. |
|
True |
2 |
False |
|
Port |
Specifies the Web service port for connection to the ESXi host.
Default: |
|
False |
Named |
False |
|
User |
Specifies the user name you want to use for authenticating with the ESXi host. |
|
True |
1 |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the CHost object that contains settings of the VMware ESXi hosts to the backup infrastructure
Examples
Example 1. Adding VMware ESXi Hosts Using Account User Name and Password
|
This command adds the
|
Example 2. Adding VMware ESXi Hosts Using Credentials Managed by Veeam Backup & Replication
|
This example shows how to add the
Perform the following steps:
|
Related Commands
Get-VBRCredentialsReturns credentials records.