Follow the steps in this recipe to delete a previously-created computer object.
Deleting a computer
Getting ready
To delete a computer account, you should sign in to a domain controller, a member server, and/or a device with the RSAT for Active Directory Domain Services installed.
Sign in with an account that is a member of the Domain Admins group, the Account Operators group, or with an account that has delegated privileges to delete computer objects in the domain or in the scope of the OU where the computer account is to be deleted.
How to do it...
There are four ways...