The DSRm utility removes the specified object from
Active Directory. The action is a one-way process; you can't undo it.
This utility uses the following syntax:
dsrm ObjectDN... [-subtree [-exclude ]] [-noprompt ]
[{-s Server | -d Domain}] [-u UserName] [-p {Password | *}] [-c ]
[-q ] [{-uc | -uco | -uci}]
The following list describes each of the
command line arguments.
-subtree [-exclude]
Specifies that
the utility should delete both the object and all objects within the
object's subtree. Adding the -exclude
command line switch excludes the object defined by the ObjectDN argument from deletion (essentially deleting
the subtree). The default setting deletes only the object specified by
the ObjectDN argument.
-noprompt
Forces the
utility to perform all deletions without prompting you. Normally, the
utility prompts you to approve each deletion as a safety precaution.