NETDOM REMOVE
Removes a workstation or server from the domain.
netdom remove Computer [/domain:Domain] [/userd:User] [/passwordd:[Password | *]] [/usero:User] [/passwordo:[Password | *]] [/reboot[:TimeInSeconds]] [/force] [/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.