Last updated on April 16th, 2023 at 11:28 pm
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.
Free Subscription
If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.
No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.