PowerCLI Reference

Get-OrgVdc

Synopsis

This cmdlet retrieves organization vDCs.

Syntax

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

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

Related Commands

Online Version
Get-Org
Get-OrgNetwork

Detailed Description

This cmdlet retrieves organization virtual datacenters (vDCs). You can filter the returned objects by using the cmdlet parameters.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the organization vDCs you want to retrieve.falseFalse
IdString[]Specifies the IDs of the organization vDCs you want to retrieve.


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
OrgOrg[]Specifies 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[]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 OrgVdc objects

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

$myProviderVdc = Get-ProviderVdc -Name 'MyProvider1Vdc'
Get-OrgVdc -ProviderVdc $myProviderVdc

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 © VMware, Inc. All rights reserved.