DS Query Command (dsquery.exe)

DS Query Command (dsquery.exe)

Tasks that can be accomplished:

Perform queries for computer, contact, group, OU, server, site, subnet, user, quota, and partition objects. Perform generic queries to retrieve any type of object

Type of tool:

Command line

Where to find it:

%SystemRoot%\System32 on Windows Server 2003

Recipes in which it is used:

Recipe 2.7, Recipe 2.9, Recipe 2.13, Recipe 2.14, Recipe 3.19, Recipe 3.20, Recipe 3.25, Recipe 4.2, Recipe 4.5, Recipe 4.6, Recipe 4.7, Recipe 4.9, Recipe 4.22, Recipe 5.2, Recipe 5.3, Recipe 5.6, Recipe 5.8, Recipe 6.4, Recipe 6.13, Recipe 6.23, Recipe 6.28, Recipe 7.9, Recipe 8.8, Recipe 10.8, Recipe 10.10, Recipe 10.15, Recipe 10.16, Recipe 10.17, Recipe 10.18, Recipe 11.2, Recipe 11.3, Recipe 11.5, Recipe 11.8, Recipe 11.15, Recipe 12.11, Recipe 15.14, Recipe 17.2, Recipe 17.5



    Chapter 3. Domain Controllers, Global Catalogs, and FSMOs
    Chapter 6. Users
    Appendix A. Tool List