Remarks: The dsquery commands help you find objects in the directory that match a specified search criterion: the input to ...

Remarks: The dsquery commands help you find objects in the directory that match  a specified search criterion: the input to dsquery is a search criterion  and the output is a list of objects matching the search. To get the  properties of a specific object, use the dsget commands (dsget /?).  The results from a dsquery command can be piped as input to one of the other directory service command-line tools, such as dsmod, dsget, dsrm or dsmove.  Commas that are not used as separators in distinguished names must be escaped with the backslash ("\") character (for example, "CN=Company\, Inc.,CN=Users,DC=microsoft,DC=com").   Backslashes used in distinguished names must be escaped with a backslash  (for example,  "CN=Sales\\ Latin America,OU=Distribution Lists,DC=microsoft,DC=com").