Get-ProviderVdc Command | Vmware PowerCLI Reference

Get-ProviderVdc

This cmdlet retrieves cloud provider virtual datacenters (vDCs). Note: This cmdlet is only available to Provider Administrators.

Syntax

Get-ProviderVdc
[-ExternalNetwork < ExternalNetwork[] > ]
[-Name < String[] > ]
[-OrgVdc < OrgVdc[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < CIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional ExternalNetwork ExternalNetwork[] named
  • pipeline
  • wildcards
Specifies that you want to retrieve only the vDCs accessible by the provided external networks.
optional Name String[] named
  • wildcards
Specifies the names of the provider vDCs you want to retrieve.
optional OrgVdc OrgVdc[] named
  • pipeline
  • wildcards
Retrieves the provider vDCs to which the specified organization vDCs belong.
optional ProgressAction ActionPreference named
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.ProviderVdc

Examples

Example 1

Get-OrgVdc OrgVdc | Get-ProviderVdc

Gets the provider VDC for the specified organization VDC.

Example 2

Get-ProviderVdc -Name ProviderVDC -Server CIServer

Gets the provider VDC named ProviderVDC from the specified server.

Example 3

Get-ProviderVdc -ID "urn:vcloud:providervdc:e87ed46d-9044-4d31-b4f6-1bc9695fd01c", "urn:vcloud:providervdc:6143818e-9a44-49c5-87ed-ab0dac8d9746"

Gets provider VDCs by their IDs.

Related Commands

ProviderVdc

This cmdlet retrieves the specified cloud provider vDCs.