Skip to Content
Mastering Active Directory - Second Edition
book

Mastering Active Directory - Second Edition

by Dishan Francis
August 2019
Intermediate to advanced
786 pages
20h 22m
English
Packt Publishing
Content preview from Mastering Active Directory - Second Edition

Managing the OU structure

Similar to any other Active Directory object, the OU structure can be managed using Active Directory Administrative Center (ADAC), ADUC MMC, and PowerShell. In this section, I am going to demonstrate how to manage the OU structure using PowerShell.

Let's start this with new OU. We can use the New-ADOrganizationalUnit cmdlet to create a new OU. The complete syntax can be reviewed using the following command:

Get-Command New-ADOrganizationalUnit -Syntax

As the first step, I am going to create a new OU called Asia to represent the Asia branch:

New-ADOrganizationalUnit -Name "Asia" -Description "Asia Branch"

In the preceding command, -Description defines the description for the new OU. When there is no path defined, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Active Directory - Third Edition

Mastering Active Directory - Third Edition

Dishan Francis
Active Directory, 5th Edition

Active Directory, 5th Edition

Brian Desmond, Joe Richards, Robbie Allen, Alistair G. Lowe-Norris

Publisher Resources

ISBN: 9781789800203Supplemental Content