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, Veeam Universal License

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>]

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.

Accepts VBRCloudServer type.

False

Named

True (ByValue,
ByProperty
Name)

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

VBRCloudServerNetworkInfo

Example 1

This command looks for a network by name.

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.

$cloudServer = Get-VBRCloudServer -Name "Hyper-V Silver"

Get-VBRCloudServerNetworkInfo -CloudServer $cloudServer

Related Commands

Get-VBRCloudServer