Hi,
In my research to an Exchange issue I came across a very useful cmdlet which allowed me to list all AD attributes which are enabled to be resolved by ANR in Outlook.
The cmdlet:
Get-ADObject -SearchBase ((Get-ADRootDSE).schemaNamingContext) -SearchScope OneLevel -LDAPFilter "(searchFlags:1.2.840.113556.1.4.803:=4)" -Property objectClass, name, whenChanged, whenCreated, LDAPDisplayName
I have some trouble understanding the searchflag. Unless you specifically the number you cannot do the search, but how to find which number is what?
I found in Adsiedit that the number is an attributeID parameter which is listed under schema objects.
e.g. ACS-Max-Peak-Bandwidth is 1.2.840.113556.1.4.767.
Is there a way I can get a list of all objects that have this parameter set?
Regards,
Szabolcs