PowerCLI Reference



This cmdlet retrieves the specified cloud provider vDCs.


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

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

Related Commands

Online Version

Detailed Description

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


NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the provider vDCs you want to retrieve.falseFalse
ExternalNetworkExternalNetwork[]Specifies that you want to retrieve only the vDCs accessible by the provided external networks.falseTrue (ByValue)
IdString[]Specifies the IDs of the provider 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.
OrgVdcOrgVdc[]Retrieves the provider vDCs to which the specified organization vDCs belong.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 ProviderVdc objects



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

Copyright © VMware, Inc. All rights reserved.