Appendix A. Searching Active Directory

You’ve seen many examples of searching Active Directory throughout the book. Unless you work in a very small organization where you know every member of the staff, you’ll need to search Active Directory to find the user, group, or computer you need to work with. This appendix pulls together the examples you’ve seen already and a new set of search filters that you can use directly or with a little bit of modification. The searches are shown in PowerShell, but remember that the LDAP filters can be used in ADUC.

The Microsoft AD cmdlets can be used in a number of ways:

  • Supply a value to the Identity parameter.
  • Supply an LDAP filter.
  • Supply a PowerShell filter.

You’ll see how the different filters work. ...

Get Learn Active Directory Management in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.