Get-OrgVdc Command | Vmware PowerCLI Reference

Get-OrgVdc

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
  • wildcards
Specifies the names of the organization vDCs you want to retrieve.
optional Org Org[] named
  • pipeline
  • wildcards
Specifies the organizations for which you want to retrieve vDCs.
optional ProviderVdc ProviderVdc[] named
  • pipeline
  • wildcards
Retrieves the organization vDCs which are part of the specified provider vDC. Note: This parameter is only available to Provider Administrators.
optional Server CIServer[] named
  • wildcards
Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.
Get-OrgVdc
-Id < String[] >
[-Server < CIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
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.
optional Server CIServer[] named
  • wildcards
Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

Output

VMware.VimAutomation.Cloud.Types.V1.OrgVdc

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.

Related Commands

Org

This cmdlet retrieves cloud organizations.

This cmdlet creates a new organization.

This cmdlet removes the specified organization.

This cmdlet modifies the configuration of the specified organization.

OrgVdc

This cmdlet retrieves organization vDCs.

This cmdlet creates an organization virtual datacenter (vDC).

This cmdlet removes organization virtual datacenters (vDCs).

This cmdlet modifies the configuration of the specified organization virtual datacenter (vDC).

OrgVdcNetwork

This cmdlet retrieves organization vDC networks.

This cmdlet creates a new organization VDC network on a vCloud Director server.

This cmdlet deletes the specified organization VDC network.

This cmdlet modifies the configuration of the specified organization network.