--- title: "Connect-VBRViVirtualLab" description: "Adds VMs to Veeam Backup & Replication. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet adds VMs created on VMware to Veeam Backup & Replication." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/connect-vbrvivirtuallab.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > SureBackup > SureBackup Virtual Labs > Connect-VBRViVirtualLab" dateModified: "2026-08-19" --- # Connect-VBRViVirtualLab ## Short Description Adds VMs to Veeam Backup & Replication. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Connect-VBRViVirtualLab [-VM] [] ``` ## Detailed Description This cmdlet adds VMs created on VMware to Veeam Backup & Replication. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

VM

Specifies a VM that you want to add to Veeam Backup & Replication.

Accepts the CViVmItem object. To get this object, run the Find-VBRViEntity cmdlet.

CViVmItem

True

0

True (ByPropertyName, ByValue)

`` 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). ## Examples ::: example ### Adding VM to Virtual Lab This example shows how to add the `Oracle05` VM created on VMware into Veeam Backup & Replication infrastructure. ``` $vm = Find-VBRViEntity -Name "Oracle05" Connect-VBRViVirtualLab -VM $vm ``` Perform the following steps: 1. Run the [`Find-VBRViEntity`](find-vbrvientity.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$vm` variable. 2. Run the `Connect-VBRViVirtualLab` cmdlet. Set the `$vm` variable as the `VM` parameter value. ::: ## Related Commands [`Find-VBRViEntity`](find-vbrvientity.md)