Probably you are talking about
dsrm tool. This tool is used to remove objects (including computer object, here is
how to do that) from Active Directory. But what you do when you say you are removing the computer? Do you
remove it from AD or just
disjoin from the domain using the Indentification Changes dialog box? If you disjoin the computer from domain, you disable account and the object GUID remains in Active Directory but when you delete the object you delete GUID from the Active Directory what you can view using the ADSIEdit utility. Here's how you can
delete computer account and
unjoin computer from domain using scripting.