Parameters: Value Description { | forestroot | domainroot} The node where the search will start: forest root, domain root, ...

Parameters:  Value                       Description  { | forestroot | domainroot}                              The node where the search will start:                              forest root, domain root, or a node                               whose DN is .                              Can be "forestroot", "domainroot" or an object                              DN.                              If "forestroot" is specified, the search is done                              via the global catalog. Default: domainroot.  -scope {subtree | onelevel | base}                              Specifies the scope of the search:                               subtree rooted at start node (subtree);                               immediate children of start node only (onelevel);                               the base object represented by start node (base).                               Note that subtree and domain scope                              are essentially the same for any start node                              unless the start node represents a domain root.                              If forestroot is specified as ,                              subtree is the only valid scope.                              Default: subtree.  -filter         Specifies that the search use the explicit                               LDAP search filter  specified in the                              LDAP search filter format for searching.                               Default:(objectCategory=*).The search filter                              string must be enclosed in double quotes.  -attr { | *}      If , specifies a space-separated list                              of LDAP display names to be returned for                               each entry in the result set.                              If *, specifies all attributes present on                               the objects in the result set.                              Default: distinguishedName.  -attrsonly                  Shows only the attribute types present on                              the entries in the result set but not                              their values.                              Default: shows both attribute type and value.  -l                          Shows the entries in the search result set                              in a list format. Default: table format.  {-s  | -d }                              -s  connects to the domain controller                              (DC) with name .                              -d  connects to a DC in domain .                              Default: a DC in the logon domain.  -u                Connect as . Default: the logged in                              user. User name can be: user name,                              domain\user name, or user principal name (UPN).  -p                Password for the user . If * then you                              are prompted for a password.  -q                          Quiet mode: suppress all output to standard                              output.  -r                          Recurse or follow referrals during search.                              Default: do not chase referrals during search.  -gc                         Search in the Active Directory global catalog.  -limit          Specifies the number of objects matching the                              given criteria to be returned, where                               is the number of objects to be returned.                              If the value of  is 0, all matching                              objects are returned. If this parameter is not                              specified, by default the first 100 results are                              displayed.  {-uc | -uco | -uci}         -uc Specifies that input from or output to pipe                              is formatted in Unicode.                               -uco Specifies that output to pipe or file is                               formatted in Unicode.                               -uci Specifies that input from pipe or file is                              formatted in Unicode.
English
English (United States)
日本語
Japanese