Powershell
From Lucca's Wiki
POWERSHELL COMMON STUFF
Check if the Password is Expired
Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires
Force the DC to sync the password
start-adsyncsynccycle -policytype delta
Join a domain
add-computer –domainname "YourDomainName" -restart