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, ...

Get Mastering Active Directory 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.