PowerCLI Reference

Get-VmcOrganization

Synopsis

This cmdlet retrieves an organization from the VMware Cloud environment.

Syntax

Get-VmcOrganization [-Id <String[]>] [-Server <CisServer[]>] [<CommonParameters>]

Get-VmcOrganization [[-Name] <String[]>] [-ListAvailable] [-Server <CisServer[]>] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet retrieves an organization from the VMware Cloud environment.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the SDDCs you want to retrieve.falseFalse
IdString[]Specifies the IDs of the organizations you want to retrieve.falseFalse
ListAvailableSwitchParameterSpecifies that you want to retrieve the available organizations. By default, the cmdlet retrieves only the organizations that the user has an active connection to.falseFalse
ServerCisServer[]Specifies the VMware Cloud on AWS 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 the Connect-Vmc cmdlet.falseFalse

Return Type

VMware.VimAutomation.Vmc.Types.V1.CmdletObject.VmcOrganization

Notes

Examples

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

Get-VmcOrganization -Name "OrganizationName"

Retrieves the organization named "SddcName".

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

Get-VmcOrganization -Id "OrganizationId"

Retrieves the organization with an "OrganizationId" ID.

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

Get-VmcOrganization -ListAvailable

Retrieves all available organizations.


Copyright © VMware, Inc. All rights reserved.