Examples: To find all computers in the current domain whose name starts with "ms" and whose description starts with "desktop", ...

Examples: To find all computers in the current domain whose name starts with "ms"  and whose description starts with "desktop", and display their DNs:      dsquery computer domainroot -name ms* -desc desktop*  To find all computers in the organizational unit (OU) given  by ou=sales,dc=micrsoft,dc=com and display their DNs:      dsquery computer ou=sales,dc=microsoft,dc=com