TestimoX

API Reference

Command

Remove-ADXOrganizationalUnit

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

Removes an Active Directory organizational unit.

Examples

Generated fallback example

Generated fallback example from command syntax.


Remove-ADXOrganizationalUnit -Identity '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

Remove-ADXOrganizationalUnit -Identity <string> [-Domain <string>] [-Recursive] [<CommonParameters>]
#

Parameters

Identity string requiredposition: 0pipeline: falsealiases: DistinguishedName, DN, Name, OU
Gets or sets OU identity (DN, ou, or name).
Domain string optionalposition: namedpipeline: falsealiases: DomainName
Gets or sets the optional domain DNS name.
Recursive SwitchParameter optionalposition: namedpipeline: false
Gets or sets whether descendants should be removed recursively.

Outputs

ADPlayground.DirectoryMutationResult