Parameters: Value Description -o {dn | rdn} Specifies output format. Default: distinguished name (DN). -forest Finds all ...

Parameters:  Value                   Description  -o {dn | rdn}           Specifies output format.                          Default: distinguished name (DN).  -forest                 Finds all domain controllers (DCs) in the current                          forest.  -domain     Finds all DCs in the domain with a DNS name                          matching .  -site         Finds all DCs that are part of site .  -name             Finds DCs with names matching the value given                          by , e.g., "NA*" or "Europe*" or "j*th".  -desc      Finds DCs with descriptions matching the value                          given by , e.g., "corp*" or "j*th".  -hasfsmo {schema | name | infr | pdc | rid}                          Finds the DC that holds the specified                           Flexible Single-master Operation (FSMO) role.                          (For the "infr," "pdc" and "rid" FSMO roles,                          if no domain is specified with the -domain                          parameter, the current domain is used.)  -isgc                   Find all DCs that are also global                          catalog servers (GCs) in the scope specified                          (if the -forest, -domain or -site parameters                          are not specified, then find all GCs in the current                          domain are used).  {-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 prompt for 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