Question: how to set domain controller in powershell?
Answer: Type Start PowerShell and press Enter within the Command Prompt window to open a new Windows PowerShell console window. Type Install-ADDSForest -DomainName vdom.