TestimoX

API Reference

Command

Move-ADXOrganizationalUnit

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

Moves an Active Directory organizational unit.

Examples

Generated fallback example

Generated fallback example from command syntax.


Move-ADXOrganizationalUnit -Identity 'Value' -TargetParentDistinguishedName '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

Move-ADXOrganizationalUnit -Identity <string> -TargetParentDistinguishedName <string> [-Domain <string>] [-NewName <string>] [<CommonParameters>]
#

Parameters

Identity string requiredposition: 0pipeline: falsealiases: DistinguishedName, DN, Name, OU
Gets or sets OU identity (DN, ou, or name).
TargetParentDistinguishedName string requiredposition: 1pipeline: false
Gets or sets the destination parent OU distinguished name.
Domain string optionalposition: namedpipeline: falsealiases: DomainName
Gets or sets the optional domain DNS name.
NewName string optionalposition: namedpipeline: false
Gets or sets optional new OU name.

Outputs

ADPlayground.DirectoryMutationResult