vSphere PowerCLI Reference

Get-OrgVdc

Synopsis

Retrieves organization VDCs.

Syntax

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

Related Commands

Online version
Get-Org
Get-OrgNetwork

Detailed Description

Retrieves organization VDCs. You can filter the returned objects by using the cmdlet parameters.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specify the names of the organization VDCs you want to retrieve.falsefalse
IdString[]Specify the Ids of the organization VDCs you want to retrieve.truefalse
OrgOrg[]Specify the organizations for which you want to retrieve VDCs.falsetrue (ByValue)
ProviderVdcProviderVdc[]Retrieves the organization VDCs which are part of the specified provider VDC. Note: This parameter is only available to Provider Administrators.falsetrue (ByValue)
ServerCIServer[]Specify 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

OrgVdc

Notes

Examples

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

Get-OrgVdc

Gets the cloud organization VDCs available to you.

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

Get-OrgVdc -Name Organization1*

Gets the organization VDCs with names starting with the specified string.

-------------- Example 3 --------------

Get-OrgVdc -ID OrganizationVdcId

Gets the cloud organization VDC with the provided Id.

-------------- Example 4 --------------

Get-ProviderVdc Provider1Vdc | Get-OrgVdc

Gets all organization VDCs which are part of the specified provider VDC.

-------------- Example 5 --------------

Get-OrgVdc -Org Organization1

Retrieves all organization VDCs for the specified organizations.

-------------- Example 6 --------------

Get-Org Organization1 | Get-OrgVdc -ProviderVdc Provider1Vdc

Retrieves the organization VDCs for an organization which is a part of the provider VDC named Provider1Vdc.


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.