NETDOM MOVE

Moves a workstation or member server to a new domain.

netdom move Computer /domain:Domain [/ou:OUPath]
[/userd:User] [/passwordd: [Password | *]]
[/usero:User] [/passwordo: [Password | *]]
[/userf:User] [/passwordf: [Password | *]]
[/reboot[:TimeInSeconds]]
[/securepasswordprompt]

Get Active Directory® Administrator's Pocket Consultant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.