The information in this article applies to:
SUMMARYNtdsutil.exe is a command-line utility that enterprise and domain administrators can use to manage and repair Active Directory. It is a menu-driven tool designed for interactive use, but you can also run it by using scripting and automation. MORE INFORMATION
To automate Ntdsutil, specify the commands you want to run on the command line as parameters to the Ntdsutil utility. To make parsing easier, each command or parameter is separated by a blank space, and multiple string parameters are enclosed in quotation marks. c:\ntdsutil r "sel o t" c "co t s servername" q "l r f c s" q q qNote that the letters in each of the parameters are abbreviated forms of the actual commands found in the Ntdsutil utility. You can obtain the same result by using the unabbreviated form of each command, as in the following example: c:\ntdsutil roles "select operation target" "connections" "connect to server servername" quit "list roles for connected server" quit quit quit Additional query words:
Keywords : kbtool |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |