Chapter 8. Using Advanced ds Commands

This chapter provides information and commands concerning the following topics:

Retrieving information about objects with dsquery

Retrieving information about objects with dsget

Viewing and modifying AD permissions with dsacls


Commands in this chapter are run on a domain controller named DC1 in the domain.


You should be familiar with the advanced ds commands when preparing for the 70-640 and 70-646 exams.

Retrieving Information about Objects with dsquery

You can use the dsquery command to retrieve information about objects in Active Directory (AD). A benefit of dsquery is that you can retrieve multiple objects at the same time by specifying filter criteria. The basic syntax ...

Get Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.