--- title: "Add-VBRESXi" description: "Adds VMware ESXi hosts to the backup infrastructure. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet adds VMware ESXi hosts to the backup infrastructure." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/add-vbresxi.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Virtualization Servers and Hosts > Add-VBRESXi" dateModified: "2026-08-19" --- # 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: ## 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 CCredentials object. To get this object, run the Get-VBRCredentials cmdlet.

CCredentials

True

Named

False

Description

Specifies the description of the ESXi server.

String

False

Named

False

Force

Defines that the cmdlet will add VMware ESXi hosts without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

Name

Specifies the full DNS name or IP address of the ESXi host.

String

True

0

False

Password

Specifies the password you want to use for authenticating with the ESXi host.

String

True

2

False

Port

Specifies the Web service port for connection to the ESXi host.

Default: 443.

Int32

False

Named

False

User

Specifies the user name you want to use for authenticating with the ESXi host.

String

True

1

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `CHost` object that contains settings of the VMware ESXi hosts to the backup infrastructure ## Examples ::: example ### Example 1. Adding VMware ESXi Hosts Using Account User Name and Password This command adds the `172.16.11.188` ESXi host with the `Administrator` user name and the `qwerty` password of the account. ``` Add-VBRESXi -Name 172.16.11.188 -User Administrator -Password qwerty ``` ::: ::: example ### Example 2. Adding VMware ESXi Hosts Using Credentials Managed by Veeam Backup & Replication This example shows how to add the `172.16.11.188` ESXi host using the credentials managed by Veeam Backup & Replication. ``` $Administrator = Get-VBRCredentials Add-VBRESXi -Name 172.16.11.188 -Credentials $Administrator ``` Perform the following steps: 1. Run the [`Get-VBRCredentials`](get-vbrcredentials.md) cmdlet. Save the result to the `$Administrator` variable. 2. Run the `Add-VBRESXi` cmdlet. Specify the `Name` parameter value. Set the `$Administrator` variable as the `Credentials` parameter value. ::: ## Related Commands [`Get-VBRCredentials`](get-vbrcredentials.md)