Syntax
Get-PIDatacenter [[-Name] <String[]>] [-Server <PIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the vCloud Air virtual datacenters that satisfy the specified filters.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Specifies the names for the vCloud Air datacenters that you want to retrieve. | false | false | |
InformationAction | ActionPreference | false | false | ||
InformationVariable | String | false | false | ||
PipelineVariable | String | false | false | ||
Server | PIServer[] | 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. | false | false |
Return Type
One or more PIDatacenter objectsNotes
Examples
-------------- Example 1 --------------
Get-PIDatacenter -Name 'myDatacenter'
Retrieves all virtual datacenters named 'myDatacenter' from the vCloud Air server.