Retrieving organization virtual datacenters

An organization virtual data center or organization vDC is a group of computing, memory, and storage resources from one vCenter Server allocated to an organization. The Get-OrgVdc cmdlet retrieves organization vDCs. The syntax of the Get-OrgVdc cmdlet is as follows. The first parameter set is the default.

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

The second parameter set is to retrieve organization virtual data centers by ID:

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

The -Id parameter is required.

In the following example, we will retrieve the organization vDC for our vCloud Air connection:

PowerCLI ...

Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.