Skip to content

ShellGeek

  • Home
  • PowerShell
  • PowerShell Tips
  • About Us
  • Contact

dsquery

Dsquery Command – Query Active Directory

by shelladmin

Dsquery is a command-line tool that is available on Windows Server and available if Active Directory Domain Services (AD DS) is installed. Dsquery is used …

Read more

Dsget User – Display Properties of the User

by shelladmin

The dsget user command displays the properties of the user in the active directory. It can also get membership information for a single user. Dsget …

Read more

Dsquery Computer – Find Computers in AD

by shelladmin

Use the Dsquery Computer command to find computers in the active directory that matches the specified search criteria. To use the dsquery computer command, open …

Read more

Dsquery Server – Find All Domain Controllers

by shelladmin

The Dsquery Server command is used to find all domain controllers that match the specified search criteria. Using the dsquery server, you can find all …

Read more

Use Dsquery to Export Group Members to CSV

by shelladmin

Use the Dsquery Group command to find the group based on provided samid and pipe it to Dsget group command to get group members and …

Read more

Dsquery User Email Address Examples

by shelladmin

Dsquery user command finds the user in the active directory that matches the specified search criteria. Active Directory user has mail attribute which stores email-address …

Read more

Dsquery to Find Inactive Users in Active Directory

by shelladmin

Use the dsquery user command with an inactive parameter to find inactive user accounts in the active directory. dsquery user command has an inactive parameter …

Read more

Dsquery to Find Disabled User Accounts

by shelladmin

Using the dsquery user and dsget user command, we can find disabled user accounts in the active directory. dsquery user command has a disabled parameter …

Read more

Dsquery to find user group membership

by shelladmin

Using the dsquery and dsget command, we can find user group membership or get all AD groups user is a memberof. Active Directory groups contain …

Read more

Dsquery Find User by Attribute in Active Directory

by shelladmin

User object in the active directory has many attributes associated with it like cn, displayname, ou, name, distinguishedname, samaccountname and so many… Using the dsquery …

Read more

Older posts
Page1 Page2 Next →

Recent Posts

  • Outlook Logging – Enable Logging for Troubleshooting
  • PowerShell Stop-Process – How to Kill Process If Running
  • Get-AdUser – Find and Export Active Directory Users

Footer

  • Home
  • About Us
  • Dsquery
  • Outlook
  • Contact
  • Privacy Policy
  • Terms and Conditions
Copyright © 2023 ShellGeek All rights reserved