Question: how do i install active directory module for windows powershell?
Answer: Start Server Manager.
Click Manage > Add Roles and Features.
Click Next until you reach Features.
Enable Active Directory module for Windows PowerShell in Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools.