Tag Archives: dsquery

Windows: Active directory from command line

Hi,

this post contains command line example for querying the Active Directory using the ds* command family. The ds* commands are part of the Remote Administration Tools (RSAT)
Continue reading Windows: Active directory from command line

Windows: Get all groups a user is memberof by dsquery/dsget recursive

Hi,

The “net” builtin commands of Windows have some limitations: It truncates groupnames longer then 20 Characters, it cannot resolve group in group memberships….

dsget/dsquery are (LDAP) command line interfaces for active directory. For using these commands you have to install the Windows RSAT Tools (Remote Server Administration Tools).

Some examples.
Continue reading Windows: Get all groups a user is memberof by dsquery/dsget recursive