Book Image

Mastering Active Directory

By : Dishan Francis
Book Image

Mastering Active Directory

By: Dishan Francis

Overview of this book

Active Directory is a centralized and standardized system that automates networked management of user data, security, and distributed resources and enables interoperation with other directories. If you are aware of Active Directory basics and want to gain expertise in it, this book is perfect for you. We will quickly go through the architecture and fundamentals of Active Directory and then dive deep into the core components, such as forests, domains, sites, trust relationships, OU, objects, attributes, DNS, and replication. We will then move on to AD schemas, global catalogs, LDAP, RODC, RMS, certificate authorities, group policies, and security best practices, which will help you gain a better understanding of objects and components and how they can be used effectively. We will also cover AD Domain Services and Federation Services for Windows Server 2016 and all their new features. Last but not least, you will learn how to manage your identity infrastructure for a hybrid-cloud setup. All this will help you design, plan, deploy, manage operations on, and troubleshoot your enterprise identity infrastructure in a secure, effective manner. Furthermore, I will guide you through automating administrative tasks using PowerShell cmdlets. Toward the end of the book, we will cover best practices and troubleshooting techniques that can be used to improve security and performance in an identity infrastructure.
Table of Contents (20 chapters)

Managing the OU structure

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

A new OU can be created using the New-ADOrganizationalUnit cmdlet. The complete syntax can 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, it will create the OU under the root. We can review the details of the new OU using the following command:

Get-ADOrganizationalUnit...