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

Get-VSBHvVirtualLab

In this article

    Short Description

    Returns Hyper-V virtual labs.

    Applies to

    Platform: Hyper-V

    For VMware, run Get-VSBVirtualLab.

    Product Edition: Enterprise, Enterprise Plus

    Syntax

    Get-VSBVirtualLab [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet returns Hyper-V virtual labs that are connected to the Veeam backup console.

    Run Find-VSBHvVirtualLab to look for virtual labs that are not managed by Veeam Backup & Replication.

    You can get the list of all virtual labs or search for instances directly by name.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the name(s) of the virtual lab, or search conditions.

    You can specify multiple names separated by commas.

    False

    1

    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 created or connected to Veeam Backup & Replication.

    PS C:\PS> Get-VSBHvVirtualLab

    Example 2

    This command looks for the list of virtual labs with names starting with "Exchange".

    PS C:\PS> Get-VSBHvVirtualLab -Name Exchange*