Saturday, December 13, 2008

ldap queries

the basics

LDAP Search Samples for Windows Server 2003 and Exchange 2000/2003

Active Directory Users and Computers Saved Queries - Ron Crumbaker ...
Active Directory Saved Queries Templates

Ldp Examples msdn


LDAP Attributes from Active Directory Users and Computers petri

Tracing LDAP calls with Powershell




Set MyUser = GetObject ("LDAP://GCName /CN=Administrator,CN=Users,DC=sunnydale,DC=muni")


You may also query only GCs by using the GC:// notation as follows:
Set MyUser = GetObject ("GC://GCName /CN=Administrator,CN=Users,DC=sunnydale,DC=muni")
You can also set properties for an object.
Set MyUser = GetObject ("LDAP://CN=Administrator,CN=Users,DC=sunnydale,DC=muni")
MyUser.msExchHideFromAddressLists = True
MyUser.SetInfo

No comments: