I need to do two action in command line :
1-Join a computer (Windows XP or 7) to a Domain or specific domain controller with an account that has Admin right
2-Re-join a computer (Windows XP or 7) to the Domain or specific domain controller in case the computer crashed and the same computer name is kept after masterization...
3- Move a computer from one OU within another OU.
It looks like the second one is tricky because there is actually a deletion of the computer object and a recreation of the object in the new OU ????
I no i can use Netdom and Powershell but i'm new to the business and i need example i can rely on by just replacing what needs to be replace in the syntax.