API Reference
Command
New-ADXGroup
Creates a new Active Directory group account.
Examples
Generated fallback example from command syntax.
New-ADXGroup -SamAccountName 'Name' -OrganizationalUnit 'Value'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-ADXGroup -SamAccountName <string> -OrganizationalUnit <string> [-Attribute <Hashtable>] [-CommonName <string>] [-Description <string>] [-DisplayName <string>] [-Mail <string>] [-ManagedBy <string>] [-Notes <string>] [-Scope <DomainLocal|Global|Universal>] [-SecurityEnabled <bool>] [<CommonParameters>]#Parameters
- SamAccountName string
- Gets or sets the group sAMAccountName.
- OrganizationalUnit string
- Gets or sets the destination organizational unit distinguished name.
- Attribute Hashtable
- Gets or sets optional custom attributes to apply after creation.
- CommonName string
- Gets or sets optional common name (CN). Defaults to SamAccountName.
- Description string
- Gets or sets optional description.
- DisplayName string
- Gets or sets optional display name.
- Mail string
- Gets or sets optional mail address.
- ManagedBy string
- Gets or sets optional managedBy distinguished name.
- Notes string
- Gets or sets optional notes/info value.
- Scope GroupScope
- Gets or sets the group scope. Possible values: DomainLocal, Global, Universal
- Possible values:
DomainLocal,Global,Universal - SecurityEnabled bool
- Gets or sets whether the group is security-enabled.
Outputs
ADPlayground.DirectoryMutationResult