Wednesday, June 19, 2013

Join your computer to a domain by PowerShell in Windows Server 2012

In Windows Server 2012, we can easily join a computer to domain by PowerShell. To join a computer to domain, we can use "Add-Computer".

1. On a Windows Server 2012 computer, launch "PowerShell".
2. Perform "Add-Computer -DomainName <Domain Name> -Restart" to join a computer to domain.

3. Enter the domain credential for joining domain.

4. Click "OK".

As a result, this computer was joined to a domain.


This posting is provided “AS IS” with no warranties, and confers no rights!

No comments:

Post a Comment