## PowerCLI Reference

# Get-OrgVdc

## Synopsis

This cmdlet retrieves organization vDCs.

Syntax

Get-OrgVdc [[-Name] <String[]>] [-Org <Org[]>] [-ProviderVdc <ProviderVdc[]>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]
Get-OrgVdc -Id <String[]> [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Specifies the names of the organization vDCs you want to retrieve. | false | false
Id | String[] | 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. | true | false
InformationAction | ActionPreference |  | false | false
InformationVariable | String |  | false | false
Org | Org[] | Specifies the organizations for which you want to retrieve vDCs. | false | true (ByValue)
PipelineVariable | String |  | false | false
ProviderVdc | ProviderVdc[] | Retrieves the organization vDCs which are part of the specified provider vDC. Note: This parameter is only available to Provider Administrators. | false | true (ByValue)
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 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.