Find-VSBHvVirtualLab (obsolete)
Short Description
Looks for virtual labs created on the specified Hyper-V host.
Note |
This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. |
Applies to
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Find-VSBVirtualLab -Server <CHost> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
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 the Connect-VSBHvVirtualLab cmdlet to add the unregistered virtual labs to Veeam Backup & Replication.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Server | Specifies the Hyper-V host. The cmdlet will return virtual labs created on this host. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | True | 1 | True (ByValue, |
Name | Specifies the array of names of the virtual labs. The cmdlet will return virtual labs with these names. | String[] | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
CHvSbVirtualLab
Examples
Example 1. Getting All Virtual Labs on Specific Hyper-V Server [Using Pipeline]
This example shows how to get all virtual labs created on the Hyper-V Host Hyper-V server.
Perform the following steps:
|
Example 2. Getting Virtual Labs on Specific Hyper-V Server [Using Variable]
This example shows how to get virtual labs with names starting with "Hv" on the Hyper-V Host Hyper-V server.
Perform the following steps:
|
Related Commands