Import Active Directory Powershell Module

If you want to use Active Directory modules for Powershell then you can will need to run the commands to import the required module and then install the RSAT tools. To do this, open up an elevated Powershell command box and run the following command to import the Server Manager module: Import-Module ServerManager Once that […]

Import Active Directory Powershell Module
If you want to use Active Directory modules for Powershell then you can will need to run the commands to import the required module and then install the RSAT tools. To do this, open up an elevated Powershell command box and run the following command to import the Server Manager module:
Import-Module ServerManager
Powershell Import Server Manager Module Once that has completed, then run the following command to install the required Remote Server Administration Tools (RSAT) feature:
Add-WindowsFeature RSAT-AD-PowerShell
Powershell add rsat For it to work you need at least one Domain Controller in the domain as Windows Server 2008 R2 or above and have Active Directory Web Services (ADWS) installed on it. You should now be able to use Active Directory commands within Powershell.

Feedback

If you have any questions or feedback on this post, please feel free to leave us a message below in our comments section.
🛠️

Gear We Recommend

Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.

Browse our Windows Admin Toolkit picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.