Connects an existing VMware virtual lab.
This cmdlet is deprecated and will be marked as obsolete in the future. It is recommended to re-write your scripts using the Connect-VBRViVirtualLab cmdlet.
For Hyper-V, run Connect-VSBHvVirtualLab.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Connect-VSBVirtualLab [-VirtualLab] <CVirtualLabDescriptor> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
This cmdlet connects an existing VMware virtual lab to Veeam Backup & Replication console.
When you add a new host to your Veeam Backup & Replication console, the virtual labs that are registered on it are not added automatically. Use this cmdlet to add the virtual labs to your Veeam Backup & Replication console.
Specifies the virtual lab you want to connect.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
This command connects a virtual lab named "Exchange VLab 01" to Veeam Backup & Replication. The server where the virtual lab is located is obtained with Get-VBRServer and assigned to the $server variable beforehand.
Find-VSBVirtualLab -Server $server -Name "Exchange VLab 01" | Connect-VSBVirtualLab
This command connects a virtual lab represented by the $VLab01 variable. The virtual lab object is obtained with Find-VSBVirtualLab and assigned to the variable beforehand.
Connect-VSBVirtualLab -VirtualLab $VLab01