powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-Org



NAME
Get-Org

SYNOPSIS
Gets cloud organizations.

SYNTAX
Get-Org [[-Name] ] [-Server ] []

Get-Org -Id [-Server ] []


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


PARAMETERS
-Name
Specify the names of the cloud organizations you want to retrieve.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Server
Specify the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the comm
and runs on the default servers. For more information about default servers, see the description of Connect-CIS
erver.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Id
Specify the Ids of the cloud organization you want to retrieve.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
AdminOrganization


NOTES




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

C:\PS>Get-Org -Name Organization1


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





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

C:\PS>Get-Org -ID $organizationId


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






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-Org.html
Get-OrgVdc
Get-OrgNetwork