Managing Active Directory

This chapter covers the following recipes:

  • Installing a Forest Root Domain
  • Testing an AD Installation
  • Installing a Replica Domain Controller
  • Installing a Child Domain
  • Creating and Managing AD Users and Groups
  • Managing AD Computers
  • Adding/Removing Users Using a CSV Files
  • Creating Group Policy Objects
  • Reporting on AD Computers
  • Reporting on AD Users
  • Managing AD Replication


A core component of almost all organizations’ IT infrastructure is Active Directory (AD). AD provides access control, user and system customization, and a wealth of directory and other services. Microsoft first introduced AD with Windows 2000 and has improved and expanded the product with each successive release of Windows Server.

Get Windows Server Automation with PowerShell Cookbook - Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.