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;


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


and you select Active Directory for Windows PowerShell there;


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