This is an archive version of the document. To get the most up-to-date information, see the current version.

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:

Get-VBRCloudServerNetworkInfo [-Name <string[]>] [<CommonParameters>]

  • For looking for networks of a selected cloud service provider:

Get-VBRCloudServerNetworkInfo [-CloudServer <VBRCloudServer[]>] [-Name <string[]>] [<CommonParameters>]

  • For looking for networks by ID:

Get-VBRCloudServerNetworkInfo [-Id <guid[]>] [-Name <string[]>] [<CommonParameters>]

Related Commands

Get-VBRCloudServer

Return Type

VBRCloudServerNetworkInfo

Detailed Description

This cmdlet returns networks that are allocated to you by your cloud resources.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

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.

False

Named

True (by Value
FromPipeline, ValueFromPipeline
ByPropertyName)

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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command looks for a network by name.

PS C:\PS> Get-VBRCloudServerNetworkInfo -Name "Lab Isolated Network"

Example 2

This example shows how to return networks connected to a selected cloud server.

  1. Run Get-VBRCloudServer to get the server and save it to the $cloudServer variable.
  2. Run Get-VBRCloudServerNetworkInfo with the saved variable.

PS C:\PS> $cloudServer = Get-VBRCloudServer -Name "Hyper-V Silver"

PS C:\PS> Get-VBRCloudServerNetworkInfo -CloudServer $cloudServer