Are you looking for a way to install PowerShell Active Directory Module for your device? You are in luck! This guide will explain to you step by step how to complete this task for various Windows versions. We will also provide you with a brief tutorial on importing the module. Let’s check it out now!
What Is PowerShell Active Directory Module?
The PowerShell Active Directory is a module that gathers several cmdlets. These cmdlets are used for managing objects such as groups, users, and domains.
While graphical interfaces are available for managing your environment, PowerShell enables large-scale modifications. PowerShell commands can edit an attribute more quickly than the graphical UI (user interface) by repeatedly iterating through the user list.
This module is installed by default on domain controllers. Still, installing the module on your workstation is necessary in case you want to administer your Active Directory remotely.
How To Install PowerShell Active Directory Module
The installation of the module differs between Microsoft’s various Windows OS (operating systems).
For Window 10
Different versions of Windows 10 also require different methods of module installation. Thus, check for your device version before installing. Check out this brief guide and follow along to perform this task.
- Hit the Window symbol at the bottom left corner of your screen.
- Type Settings to the search box, and choose Settings.
- In Settings, choose System.
- Select the About option. In this section, you will find the specification of your device version. For further information, you can check out this list of Windows 10 versions.
For Windows 10 Pre-1809
If you use a device with Windows 10 OS before the 1809 version, apply these steps to install the module.
- First, download RSAT Tools via this link.
- The installer checks to see if the update applies to your system. Then, it will ask for your permission to install it. Hit Yes.
- Accept the license terms. Once you install the tool, choose Restart Now.
- After the restart process, go to Control Panel.
- Open Programs, and click on Programs and Features.
- Choose Turn Windows Features On Or Off.
- Select Remote Server Administration Tools, Role Administration Tools, and AD DS And AD LDS tools in succession.
- Choose Active Directory Module, then hit OK. And you are done!
Image Source: https://info.varonis.com/hs-fs/hubfs/Website_Reboot/Blog%20Image/win10_add_win_feature.png?width=1107&name=win10_add_win_feature.png
For Windows 10 Post-1809
There are two ways of installing the module for Windows 10 OS after the 1809 version.
Approach 1: Install Via Settings
- Open Settings. Click on Apps.
- Select Optional Features.
- Choose Add A Feature.
- Enter Active Directory into the search box.
- Two options will appear: RSAT: Active Directory Certificate Services Tools and RSAT: Active Directory Domain Services and Lightweight Directory Services Tools. Choose the latter one.
Image Source: https://info.varonis.com/hs-fs/hubfs/Website_Reboot/Blog%20Image/install_adds.png?width=1283&name=install_adds.png
Approach 2: Install Through PowerShell.
- Open the Windows PowerShell app.
- Enter this code: Add-WindowsCapability –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 –Online.
Image Source: https://info.varonis.com/hs-fs/hubfs/Website_Reboot/Blog%20Image/win10_ps_install.png?width=762&name=win10_ps_install.png
For Windows Server
The installation process for Windows 10 varies depending on the version, but Windows Server has used the same process for all editions, such as Windows Server 2019, 2016, 2012, etc. There are two ways to install the module for the Windows Server.
Approach 1: Install Through Add Roles And Features
- Open Server Manager.
- Choose Manage, and select Add Roles And Features.
- Click on the Role Based Installation option; select Next.
- Choose the server on which you want to install the Active Directory Module. Select Next.
- In the Features section, select Remote Server Administration Tools, then Role Administration Tool, then AD DS and AD LDS Tools, and Active Directory Module. Click on the Next option.
- Hit Install.
Image Source: https://info.varonis.com/hs-fs/hubfs/Website_Reboot/Blog%20Image/server_select_feature_adds.png?width=996&name=server_select_feature_adds.png
Approach 2: Install With PowerShell
- Go to the Windows PowerShell app.
- Enter this cmdlet: Install-WindowsFeature –Name RSAT-AD-PowerShell –IncludeAllSubFeature.
Image Source: https://info.varonis.com/hs-fs/hubfs/Website_Reboot/Blog%20Image/server_ps_install.png?width=2055&name=server_ps_install.png
How To Import PowerShell Active Directory Module
There are numerous installation techniques; however, there’s only one method for importing the module. Follow the steps below to import the Active Directory Module to any Windows version.
- Hit the Window symbol at the bottom left corner of your screen.
- Type PowerShell to the search box, and choose Windows PowerShell.
- Enter the following code to the window: Get-module –Name ActiveDirectory –ListAvailable.
- Import the Active Directory Module utilizing the cmdlet command Import-module –Name ActiveDirectory. And you are done!
The Bottom Line
Above is the tutorial for installing PowerShell Active Directory Module. As mentioned before, the method you use to perform this task depends on the version of your Window device.
Thus, you must check this information before the installation process. Then, all you need to do is follow our guide above, and you will soon install the Active Directory Module as you want. Hopefully, you will find this guide useful and easy to understand.After this post, you may pay more attention to the Windows operating system. Suppose you can’t decide the winner between Windows 10 Vs. Windows 7; check out our complete comparison.
Leave a Reply