Joining a computer to a domain

The GUI way

my pc properties

Right click on My Computer or This PC and click properties


Select the Computer Name tab and Click change


Click on the Domain radio button and enter either the domain name press Ok

Enter your domain administrative credentials and press ok to reboot.


Using PowerShell

Add-Computer -DomainName Domain01 -Restart

Using Netdom

netdom join %computername% / /userd:Administrator /passwordd: /reboot:0