Import Active Directory Powershell Module


Last updated on April 17th, 2023 at 12:36 am

Read Time:43 Second

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

Import Active Directory Powershell Module 5

Once that has completed, then run the following command to install the required Remote Server Administration Tools (RSAT) feature:

Add-WindowsFeature RSAT-AD-PowerShell

Import Active Directory Powershell Module 6

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.


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

Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 23 years. Sharing experience and knowledge whenever possible! Making IT Happen.
Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 555 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.