Get-VBRCloudServerNetworkInfo
Short Description
Returns networks available in your cloud resources.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides three parameter sets.
- For looking for networks by name:
- For looking for networks of a selected cloud service provider:
Get-VBRCloudServerNetworkInfo [-CloudServer <VBRCloudServer[]>] [-Name <string[]>] [<CommonParameters>] |
- For looking for networks by ID:
Detailed Description
This cmdlet returns networks that are allocated to you by your cloud resources.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the name of the network you want to get. | False | Named | False | False |
CloudServer | Specifies the cloud server. The cmdlet will return networks connected to this server. Accepts VBRCloudServer type. | False | Named | True (ByValue, | False |
Id | Specifies the ID of the network you want to get. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This command looks for a network by name.
Example 2
This example shows how to return networks connected to a selected cloud server.
- Run Get-VBRCloudServer to get the server and save it to the $cloudServer variable.
- Run Get-VBRCloudServerNetworkInfo with the saved variable.
$cloudServer = Get-VBRCloudServer -Name "Hyper-V Silver" Get-VBRCloudServerNetworkInfo -CloudServer $cloudServer |
Related Commands