Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Organizational Units

Direct answer

Organizational units structure AD for delegation and Group Policy. Create them with New-ADOrganizationalUnit, protected from accidental deletion, and place objects there automatically by role or site.

When to use this

Use this when creating or structuring OUs by script.

First 30 seconds

1. OUs structure AD for GPOs and delegation.

2. Protect from accidental deletion.

3. Delegate narrowly.

4. Keep structure simple.

5. Document.

Operational verification

OU → GPO links + delegation

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Active Directory automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformActive Directory automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when creating or structuring OUs by script.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Moving objects between OUs without checking GPO effects.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • OUs are for delegation and Group Policy.
  • Protect from accidental deletion.
  • Plan structure before creating.
Key checks
  • Get-ADOrganizationalUnit -Filter * | ft Name,DistinguishedName — OUs
  • New-ADOrganizationalUnit -Name <n> -Path <dn> -ProtectedFromAccidentalDeletion $true — create
  • Delegation on OUs — permissions
ReferenceWhy it matters1 section · depth on demand

What it is

Organizational Units (OUs) are containers in Active Directory used to group users, computers and groups for delegation of administration and Group Policy linking. Structure them by administration and policy needs, not the org chart.

ReferenceHow it works1 section · depth on demand

In depth

Organisational Units (OUs) structure Active Directory objects for administration and Group Policy. Automation creates and maintains OU structures consistently and places new objects in the right OU, which determines which policies and delegations apply to them.

New-ADOrganizationalUnit -Name 'Servers' -Path 'OU=Oslo,DC=corp,DC=example,DC=com' -ProtectedFromAccidentalDeletion $true
Get-ADOrganizationalUnit -Filter * -SearchBase 'OU=Oslo,DC=corp,DC=example,DC=com' | Select-Object DistinguishedName
Move-ADObject -Identity 'CN=SRV01,CN=Computers,DC=corp,DC=example,DC=com' -TargetPath 'OU=Servers,OU=Oslo,DC=corp,DC=example,DC=com'

Redirect default containers (redircmp, redirusr) so new computers and users land in OUs with policies, not in the default containers where GPOs cannot be linked.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docActive Directory automation current

Authoritative/upstream documentation reviewed for bounded claims in Active Directory Automation > Organizational Units. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/powershell/module/activedirectory/?view=windowsserver2025-ps · confidence 94%
Confirmation

Confirm action

Continue?