PowerCLI Reference

Get-PIDatacenter

Synopsis

This cmdlet retrieves the vCloud Air virtual datacenters that satisfy the specified filters.

Syntax

Get-PIDatacenter [[-Name] <String[]>] [-Server <PIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves the vCloud Air virtual datacenters that satisfy the specified filters.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names for the vCloud Air datacenters that you want to retrieve.falsefalse
InformationActionActionPreferencefalsefalse
InformationVariableStringfalsefalse
PipelineVariableStringfalsefalse
ServerPIServer[]Specifies the vCloud Air 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-PIServer.falsefalse

Return Type

One or more PIDatacenter objects

Notes

Examples

-------------- Example 1 --------------

Get-PIDatacenter -Name 'myDatacenter'

Retrieves all virtual datacenters named 'myDatacenter' from the vCloud Air server.


Copyright © VMware, Inc. All rights reserved.