Syntax
New-Org -Name <String> -FullName <String> [-Description <String>] [-Server <CIServer>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet creates a new organization. By default, the new organization is enabled. Note: This cmdlet is only available to Provider Administrators.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Confirm | SwitchParameter | If 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. | false | false | |
Description | String | Specifies a description for the organization that you want to create. | false | false | |
FullName | String | Specifies a full name for the organization that you want to create. | true | false | |
InformationAction | ActionPreference | false | false | ||
InformationVariable | String | false | false | ||
Name | String | Specifies a unique name identifier for the organization that you want to create. | true | 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 | true (ByValue) | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false |
Return Type
The newly created Organization objectNotes
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.