This is an archive version of the document. To get the most up-to-date information, see the current version.

Find-VSBVirtualLab

Short Description

Looks for virtual labs created on the specified ESX(i) host.

Applies to

Platform: VMware

For Hyper-V, run Find-VSBHvVirtualLab.

Product Edition: Enterprise, Enterprise Plus

Syntax

Find-VSBVirtualLab [-Server] <CHost> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Related Commands

Get-VBRServer

Detailed Description

This cmdlet returns virtual labs created on the specified ESX(i) host, both registered in Veeam Backup & Replication and not.

You can get the list of all VMware virtual labs on the specified ESX(i) host or look for instances directly by name.

Run Connect-VSBVirtualLab to add the unregistered virtual labs to Veeam Backup & Replication.

Return Type

CVirtualLabDescriptor

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Server

Specifies the server on which you want to look for virtual labs.

True

1

True (ByValue,
ByProperty
Name)

False

Name

Specifies the name of the resource pool you want to get, or search conditions.

You can specify multiple names separated by commas.

False

Named

False

True

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command looks for the list of all virtual labs located on the ESXi hosts. The servers are obtained with Get-VBRServer, sorted by "Type" and piped down.

PS C:\PS> Get-VBRServer -Type ESXi | Find-VSBVirtualLab

Example 2

This command looks for the virtual lab named "MailServer_VLab" connected to the ESXi host named "ESXiHost". The server is obtained with Get-VBRServer and piped down.

PS C:\PS> Get-VBRServer -Name "ESXiHost" | Find-VSBVirtualLab -Name "MailServer_VLab"