Find-VSBHvVirtualLab (obsolete)

Short Description

Looks for virtual labs created on the specified Hyper-V host.

Note

This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Find-VSBHvVirtualLab [-Name <String[]>] [[-Server] <CHost>] [<CommonParameters>]

Detailed Description

This cmdlet returns virtual labs created on the specified Hyper-V host, both registered in Veeam Backup & Replication and not.

You can get the list of all virtual labs on the specified Hyper-V host or look for instances directly by name.

Run the Connect-VSBHvVirtualLabConnects an existing Hyper-V virtual lab. This cmdlet is obsolete. The cmdlet still works but may not be supported in further versions. cmdlet to add the unregistered virtual labs to Veeam Backup & Replication.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies the array of names of the virtual labs. The cmdlet will return virtual labs with these names.

String[]

False

Named

False

Server

Specifies the Hyper-V host. The cmdlet will return virtual labs created on this host.

CHost

False

0

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

CHvSbVirtualLab

Examples

Find-VSBHvVirtualLab (obsolete)Example 1. Getting All Virtual Labs on Specific Hyper-V Server [Using Pipeline]

This example shows how to get all virtual labs created on the Hyper-V Host Hyper-V server.

Get-VBRServer -Name "Hyper-V Host" | Find-VSBHvVirtualLab

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Find-VSBHvVirtualLab cmdlet.

Find-VSBHvVirtualLab (obsolete)Example 2. Getting Virtual Labs on Specific Hyper-V Server [Using Variable]

This example shows how to get virtual labs with names starting with "Hv" on the Hyper-V Host Hyper-V server.

$server = Get-VBRServer -Name "Hyper-V Host"

Find-VSBHvVirtualLab -Server $server -Name Hv*

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  2. Run the Find-VSBHvVirtualLab cmdlet. Set the $server variable as the Server parameter value. Specify the Name parameter value.

Get-VBRServerReturns hosts connected to the backup infrastructure.

Page updated 2026-08-19

Page content applies to build 13.1.1.18