PowerShell Tip: Active Directory Module not found

Hi everyone

I wanted to share a small tip if you still manage older active directory server with powershell.

I stumbled into a Domain Controler today that hasnt the PowerShell’s module for ActiveDirectory, I was wondering why, and found out it need to be added as a feature.

We can see the error there when we try to import the module;

ad01

If it happen to you, be sure its added as a feature there;

ad02

and you select Active Directory for Windows PowerShell there;

ad03

Tomorrow I will share a small PowerShell script handy to clean up your Active Directory objects !