Join Domain
From KlavoWiki
To join a Windows Domain use the following command
netdom join <ComputerName> /domain:<DomainName> /userd:<UserName> /passwordd:*
Where
- ComputerName is the name of the server that is running the Server Core installation.
- DomainName is the name of the domain to join.
- UserName is a domain user account with permission to join the domain.
NOTE: The double d in /passwordd is correct.
NOTE: When issuing the above command I noticed that immediately after it lost network connection so the command should be run from the server and not from a remote connection.