I've trying to use powershell to add a machine to the domain. The local accounts are locked, the local administrator account is disabled and it's doesn't see the domain. I'm was trying to use powershell Remotely because It's impossible to do it any other way..
add-computer -computername (nameofmachine) -domainname (name of the domain) - credential (my credentials)
It now working. Is there anyway to do this remotely???