## PowerCLI Reference

# Get-Org

## Synopsis

This cmdlet retrieves cloud organizations.

Syntax

Get-Org [[-Name] <String[]>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]
Get-Org -Id <String[]> [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

Related Commands

Online version
Get-OrgVdc
Get-OrgNetwork

Detailed Description

This cmdlet retrieves cloud organizations. If you are connected as a cloud administrator, the cmdlet retrieves all organizations in the cloud. If you are connected as an organization user, the cmdlet retrieves your organization.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Specifies the names of the cloud organizations you want to retrieve. | false | false
Id | String[] | Specifies the IDs of the cloud organization 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. | true | false
InformationAction | ActionPreference |  | false | false
InformationVariable | String |  | false | false
PipelineVariable | String |  | false | false
Server | CIServer[] | 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. | false | false

Return Type

Zero or more Organization objects

Notes

Examples

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

    Get-Org -Name Organization1

Gets an organization by name. You must be connected as a cloud administrator.

-------------- Example 2 --------------

    Get-Org -ID $organizationId

Gets an organization by ID. You must be connected as a cloud administrator.

Copyright © VMware, Inc. All rights reserved.