Question: how to install active directory module in 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.