- Active Directory Administration Cookbook
- Sander Berkouwer
- 51字
- 2021-06-24 14:42:26
Using the command line
Since Windows 2000 Server, a command-line tool has been available to delete objects, including OUs: dsrm.exe.
Run the following command line on a domain controller or any domain-joined Windows or Windows Server installation with the RSAT for Active Directory Domain Services installed:
dsrm.exe "OU=Finance,DC=LucernPub,DC=com" -subtree