共用方式為


Find an organizational unit

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To find an organizational unit

Using the Windows interface

Using a command line

Using the Windows interface

  1. Open Active Directory Users and Computers.

  2. In the console tree, right-click the domain node, and then click Find.

  3. In the Find list, click Organizational Units.

  4. Type the name of the organizational unit you want to find, and then click Find Now.

Notes

  • Performing this task does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.

  • To open Active Directory Users and Computers, click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.

  • Use the Advanced tab for more powerful search options.

  • To find organizational units, you can also click

    Find objects in Active Directory on the toolbar.

Using a command line

  1. Open Command Prompt.

  2. Type:

    dsquery ouparameter

Value Description

parameter

For the list of parameters, see Dsquery.

Notes

  • Performing this task does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • To view the complete syntax for this command, at a command prompt, type:

    dsquery ou /?

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Dsquery
Working with MMC console files
Organizational units
Command-line reference A-Z