Get-VBRHvServerNetworkInfo
Short Description
Returns virtual networks for a Hyper-V host.
Platform: Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VBRHvServerNetworkInfo -Server <CHost> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns the list of all virtual networks to which a selected Hyper-V host is connected.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Server | Specifies the Hyper-V host. The cmdlet will return virtual networks connected to this host. Accepts server object or string (host name) types. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | True | Named | True (ByValue, |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
The cmdlet returns the VBRHvServerNetworkInfo object that defines Azure AD application settings.
Examples
Example 1. Getting all Networks Connected to Specific Hyper-V Host
This command shows how to get all networks to which the srv01.veeam.local host is connected. |
Example 2. Getting Networks Connected to Specific Hyper-V Host Using Host Name
This command shows how to look for the networks to which the srv01.veeam.local host is connected.
Perform the following steps:
|
Example 3. Getting Specific Network Connected to Specific Hyper-V Host
This example shows how get one network from the list of networks that are connected to the srv01.veeam.local host. Perform the following steps:
|
Example 4. Getting Specific Network Connected to Specific Hyper-V Host [Using Pipeline]
This example shows how to get the Lab Isolated Network network that is connected to the srv01.veeam.local host.
Perform the following steps:
|
Related Commands