Chapter 8 Quick Reference

To

Do This

Make an ADO connection into Active Directory

Use the ADsDSOObject provider with ADO to talk to Active Directory

Perform an Active Directory query

Use the Field object to hold attribute data

Tell ADO search to cache results on the client side of the connection

Use the "Cache results" property

Directly query a Global Catalog (GC) server

Use GC:// in your connection moniker, instead of using LDAP://, as shown here:

GC://

Directly query a specific server in Active Directory

Use LDAP:// in your connection moniker, followed by a trailing backslash (/), as shown here:

LDAP://London/

Query for multiple attributes in Active Directory using the LDAP dialect

Open a set of parentheses. Inside the set of parentheses, type your attribute ...

Get Microsoft® Windows PowerShell™ Step By Step 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.