--- title: "Get-VSBVirtualLab (obsolete)" description: "This cmdlet returns existing VMware virtual labs. Run the Find-VSBVirtualLab cmdlet 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 or ID." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vsbvirtuallab.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Obsolete Cmdlets > Get-VSBVirtualLab (obsolete)" dateModified: "2026-08-19" --- # Get-VSBVirtualLab ## Short Description Returns VMware virtual labs. ::: note This cmdlet is deprecated and will be marked as obsolete in the future. It is recommended to re-write your scripts using the [`Get-VBRVirtualLab`](get-vbrvirtuallab.md) cmdlet. ::: **Platform**: VMware For Hyper-V, run the [`Get-VSBHvVirtualLab`](get-vsbhvvirtuallab.md) cmdlet. **Product Edition**: Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet returns existing VMware virtual labs. Run the [`Find-VSBVirtualLab`](find-vsbvirtuallab.md) cmdlet 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 or ID. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Id

Specifies the array of VMware virtual lab IDs. The cmdlet will return VMware virtual labs with these IDs.

Accepts GUID or string.

Guid[]

False

Named

True (ByPropertyName, ByValue)

Name

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

String[]

False

Named

True (ByPropertyName, ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Example 1. Getting All Virtual Labs This command returns the list of all virtual labs. ``` Get-VSBVirtualLab ``` ::: ::: example ### Example 2. Getting Virtual Labs by Name This command returns virtual labs by name. ``` Get-VSBVirtualLab -Name "MailServer VLab 01", "MailServer VLab 05" ``` ::: ::: example ### Example 3. Getting Virtual Labs by Id This command returns virtual labs by Id. ``` Get-VSBVirtualLab -Id 3fw1505l-8811-4283-b066-718bdf7280ea, 909fg28c-14f5-9a9d-6ve7-0b40d1k5a9jm ``` :::