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 criteria  and the output is a list of objects matching the search. To get the  properties of a specific object, use the dsget commands (dsget /?).  A user-entered value containing spaces or semicolons must be enclosed in quotes (""). Multiple user-entered values must be separated using commas (for example, a list of attribute types).