Question: how to install active directory domain services using powershell?
Answer: 1. Type Start PowerShell and press Enter within the Command Prompt window to open a new Windows PowerShell console window. 2. Type Add-WindowsFeature AD-Domain-Services and press Enter to install Active Directory Domain Services.