A command-line tool that provides management facilities for Active Directory Domain Services (ADDS) and Active Directory Lightweight Directory
Services (ADLDS). Perform database maintenance of ADDS, manage and control single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled. This tool is intended for use by experienced administrators
Ntdsutil.exe
Exposes Active Directory data that is stored in a snapshot or backup as a Lightweight Directory Access Protocol (LDAP) server.
DSAMAIN
Deletes an object of a specific type or any general object from the directory.
DSRM