Skip to main content

Delete organizational unit

Delete an organizational unit; with recursive, everything inside it is deleted too.

Command in the Active Directory toolkit · id ooa.active_directory/delete_ou · 3 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Organizational unit (OU)StringYesOrganizational unit distinguished name, or its name when unique.
RecursiveBooleanNofalseAlso delete every object inside it (cannot be undone).
SessionStringNoadSession name.