How to Add Computers to a Domain Using PowerShell
Performing a Domain Join Using PowerShell Once you’ve established correct DNS resolution for the domain name, start a PowerShell prompt with local administrative privileges. Press the Windows key to switch to the Start menu, type PowerShell and press CTRL+SHIFT+ENTER. If prompted, enter a local administrator username and password, or give consent to run PowerShell. In the PowerShell prompt, type add-computer –domainname ad.contoso.com -Credential AD\adminuser […]
Read more