PowerCLI Reference

New-Org

Synopsis

This cmdlet creates a new organization.

Syntax

New-Org [-Description <String>] -FullName <String> -Name <String> [-Server <CIServer>] [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-Org
Remove-Org
Set-Org

Detailed Description

This cmdlet creates a new organization. By default, the new organization is enabled. Note: This cmdlet is only available to Provider Administrators.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
DescriptionStringSpecifies a description for the organization that you want to create.falseFalse
FullNameStringSpecifies a full name for the organization that you want to create.trueFalse
NameStringSpecifies a unique name identifier for the organization that you want to create.trueFalse
ServerCIServerSpecifies 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.falseTrue (ByValue)
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

The newly created Organization object

Notes

Examples

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

$myOrgName = "MyOrg"
$myOrganization = New-Org -Name $myOrgName -FullName "MyOrgFullName" -Description "MyOrgDescription"

Creates a new organization with the specified full name and description.


Copyright © VMware, Inc. All rights reserved.