Windows Server 2012

If you are using Server 2012 R2 Core and you wish to join it to the domain, then you can use this simple Powershell command to do it.

Add-Computer -DomainName YOURDOMAIN.COM -Credentials DOMAINUSERNAME -Restart

Note that the -Restart command at the end will automatically restart your server once it has completed the joining process.

Also be aware that you should change YOURDOMAIN.COM to the domain name that you are trying to join and also change DOMAINUSERNAME to domain admin credentials for the domain you are joining.

Click to rate this post!
[Total: 0 Average: 0]

Discover more from TechyGeeksHome

Subscribe to get the latest posts to your email.

Avatar for Andrew Armstrong

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.