Get-OrgVdc

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

Syntax

[-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
  • wildcards
  • pipeline
  • Specifies the organizations for which you want to retrieve vDCs.
    optional
    ProviderVdc
    ProviderVdc[] named
  • wildcards
  • pipeline
  • 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 given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

    -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.
    optional
    Server
    CIServer[] named
  • wildcards
  • 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.

    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

    Feedback

    Was this page helpful?