vSphere PowerCLI Reference

Get-OrgVdcNetwork

Synopsis

This cmdlet retrieves organization vDC networks.

Syntax

Get-OrgVdcNetwork [[-Name] <String[]>] [-OrgVdc <OrgVdc[]>] [-Server <CIServer[]>] [<CommonParameters>]
Get-OrgVdcNetwork -Id <String[]> [-Server <CIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves organization vDC networks.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Filters the organization vDC networks by name.falsefalse
IdString[]Filters the organization vDC networks by ID.

Note: When a list of values is specified for the Id parameter, the returned objects would have an ID that matches exactly one of the string values in that list.
truefalse
OrgVdcOrgVdc[]Filters the organization vDC networks by organization vDC.falsetrue (ByValue)
ServerCIServer[]Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.falsefalse

Return Type

Zero or more OrgVdcNetwork objects

Notes

Examples

-------------- Example 1 --------------

Get-OrgVdc "myOrgVdc" | Get-OrgVdcNetwork

Gets all organization vDC networks for the specified organization vDC.

-------------- Example 2 --------------

Get-OrgVdcNetwork "myOrgVdcNetwork"

Gets an existing organization vDC network named "myOrgVdcNetwork".


Copyright © VMware, Inc. All rights reserved.