There are several ways to collect information from Active Directory. Starting with Windows Server 2003, Microsoft provided Domain Services (DS) command-line tools such as DSMod, DSGet, DSQuery and so on to collect objects and information from Active Directory.
↧