TestimoX

API Reference

Command

New-ADXOrganizationalUnit

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

Creates a new Active Directory organizational unit.

Examples

Generated fallback example

Generated fallback example from command syntax.


New-ADXOrganizationalUnit -Name 'Name' -ParentDistinguishedName 'Name'
        

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-ADXOrganizationalUnit -Name <string> -ParentDistinguishedName <string> [-Description <string>] [<CommonParameters>]
#

Parameters

Name string requiredposition: 0pipeline: false
Gets or sets the OU name.
ParentDistinguishedName string requiredposition: 1pipeline: falsealiases: OrganizationalUnit
Gets or sets the parent distinguished name where the OU should be created.
Description string optionalposition: namedpipeline: false
Gets or sets the optional OU description.

Outputs

ADPlayground.DirectoryMutationResult