Name

dsastat

Synopsis

dsastat /S:server;server:[port] options

Compare AD replicas. Options specify the type and scope of the comparison to perform among the servers specified to /S. Server names may include an alternate port number (the default is the LDAP port, 389).

Options

/B: starting-point-dn

Limit the comparison to the AD subtree rooted at the indicated object, which is specified via its distinguished name.

/Filter: ldap-filter

Filter objects in the comparison based on the specified filter given in standard LDAP search syntax; the default is “(objectclass=*)”.

/Scope: BASE | ONELEVEL | SUBTREE

Set the depth of the tree to compare (specify object only, one level down, and the entire subtree, respectively). The default is SUBTREE.

/T:true | false

If true, perform a full-content comparison of the AD trees. By default (which is false), compare only object statistics.

/Sort:true | false

If true, sort objects by GUID. This speeds up a full-content comparison. (The default is false.)

/P: size

Set the number of entries to return per query page. The default is 64. Decrease this value for large objects with many specified attributes (e.g., user accounts). The allowed range is 1-999.

/LogLevel: INFO | TRACE | DEBUG

Specify output verbosity (keywords are in increasing order). The default is INFO.

/Output: SCREEN | FILE | BOTH

Send comparison output to the screen, either to a file (named dsastat.log.nnnn), or to both locations. The default is SCREEN.

[/U:user [ /P: password]] [/D:domain]

Specify a username, ...

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.