Get-VSBHvVirtualLab
Short Description
Returns Hyper-V virtual labs.
Applies to
Product Edition: Enterprise, Enterprise Plus
Syntax
This cmdlet provides 2 parameter sets.
- For getting Hyper-V virtual labs by name:
- For getting Hyper-V virtual labs by ID:
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 or ID.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the array of Hyper-V virtual lab names. The cmdlet will return Hyper-V virtual labs with these names. | False | Named | True (ByValue, | True |
Id | Specifies the array of Hyper-V virtual lab IDs. The cmdlet will return Hyper-V virtual labs with these IDs. Accepts GUID or string type. | False | Named | True (ByValue, | True |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Example 1
This command returns the list of all virtual labs created or connected to Veeam Backup & Replication.
Example 2
This command returns the list of virtual labs with names starting with "Exchange".
Example 3
This command returns virtual labs by Id.