PowerCLI Reference

New-Org

Synopsis

This cmdlet creates a new organization.

Syntax

New-Org -Name <String> -FullName <String> [-Description <String>] [-Server <CIServer>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-WhatIf] [-Confirm] [<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
InformationActionActionPreferencefalsefalse
InformationVariableStringfalsefalse
NameStringSpecifies a unique name identifier for the organization that you want to create.truefalse
PipelineVariableStringfalsefalse
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.