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)

AD management with PowerShell – preparation

A PowerShell module can include assemblies, scripts, and functionalities. In order to use the functionalities covered by these factors, we need to import them. After that, we can call for the contents of the module to manage relevant server roles, services, or features. Before we start AD management with PowerShell, first, we need to import the ActiveDirectory module.

There are few ways to do it. Such as installing AD DS server role or by installing Remote Server Administration Tools (RSAT):

  • AD DS Server Role:
    1. If we install the AD DS server role using Server Manager, Active Directory module for Windows PowerShell is installed as a feature:
  1. If the AD DS role is installed using PowerShell, we need to tell it to include the management tools, or use -IncludeManagementTools. Otherwise, by default, it will not install the module...