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

Get-VBRVirtualLab

Short Description

Returns virtual labs with main settings.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VBRVirtualLab [-Id <guid[]>] [-Name <string[]>] [-Platform <VBRVirtualLabPlatform> {VMWare | HyperV | vCD}][<CommonParameters>]

Detailed Description

This cmdlet returns the VBRVirtualLab>[] object that contains an array of virtual labs and their main settings. You can use this object with the following cmdlets:

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Id

Specifies an array of IDs for virtual labs. The cmdlet will return an array of virtual labs with the specified ID.

Guid[]

False

Named

True (ByValue,
ByProperty
Name)

Name

Specifies an array of names for virtual labs. The cmdlet will return an array of virtual labs with the specified names.

String[]

False

Named

True (ByValue,
ByProperty
Name)

Platform

Specifies a type of server where the virtual lab is created. The cmdlet will return virtual labs created on the specified platform. You can specify either of the following virtual labs:

  • VMWare
  • HyperV
  • vCD

VBRVirtualLabPlatform

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRVirtualLab>[] object that contains the main settings of VMware virtual labs.

Examples

Get-VBRVirtualLabExample 1. Getting All Virtual Labs

Get-VBRVirtualLabExample 2. Getting Virtual Lab by ID

Get-VBRVirtualLabExample 3. Getting Virtual Lab by Name

Get-VBRVirtualLabExample 4. Getting Virtual Lab by Platform