Find-VSBHvVirtualLab
Short Description
Looks for virtual labs created on the specified Hyper-V host.
Applies to
Platform: Hyper-V
For VMware, run Find-VSBVirtualLab.
Product Edition: Enterprise, Enterprise Plus
Syntax
Find-VSBVirtualLab [-Server] <CHost> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
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 Connect-VSBHvVirtualLab to add the unregistered virtual labs to Veeam Backup & Replication.
Return Type
CHvSbVirtualLab
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Server | Specifies the server on which you want to look for virtual labs. | True | 1 | True (ByValue, | False |
Name | Specifies the name of the virtual lab or search conditions. You can specify multiple names separated by commas. | False | Named | 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 on the Hyper-V server named "Hyper-V Host". The server object is obtained with Get-VBRServer and piped down.
Example 2
This command looks for the virtual labs with names starting with "Hv" on the server represented by the $server variable. The server object is obtained with Get-VBRServer and assigned to the variable beforehand.