## PowerCLI Reference

# Get-OrgVdcNetwork

## Synopsis

This cmdlet retrieves organization vDC networks.

Syntax

Get-OrgVdcNetwork [[-Name] <String[]>] [-OrgVdc <OrgVdc[]>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]
Get-OrgVdcNetwork -Id <String[]> [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves organization vDC networks.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Filters the organization vDC networks by name. | false | false
Id | String[] | 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. | true | false
InformationAction | ActionPreference |  | false | false
InformationVariable | String |  | false | false
OrgVdc | OrgVdc[] | Filters the organization vDC networks by organization vDC. | false | true (ByValue)
PipelineVariable | String |  | false | false
Server | CIServer[] | 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. | false | false

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.