Dsquery Command In Windows Server 2008

This article describes how to use Dsquery command in Windows Server 2008.
  • 3159

Introduction

Dsquery command in Windows Server 2008 is used to finds and returns the set of objects from active directory based on search criteria. Dsquery command consists of various subcommands some of them are given below.

Commands Of Dsquery

Command Description
Dsquery command Finds computers in the directory that match search criteria that user specify.
Dsquery contact Finds contacts in the directory that match search criteria that user specify.
Dsquery group Finds groups in the directory that match search criteria that user specify.
Dsquery ou Finds OUs in the directory that match search criteria that user specify.
Dsquery site Finds sites in the directory that match search criteria that user specify.
Dsquery server Finds domain controllers according to specified search criteria.
Dsquery user Finds users in the directory that match search criteria that user specify.
Dsquery quota Finds quota specifications in the directory that match search criteria that user specify.
Dsquery partition Finds partition objects in the directory that match search criteria that user specify.
Dsquery * Finds any objects in the directory according to criteria using an LDAP query.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.