How can I find a list of all mail-enabled groups?

John Savill

July 15, 2007

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. The mail attribute of mail-enabled groups is always populated with a value and has an object category of “group.” Using Dsquery with an LDAP route path, you can find all the mail-enabled groups, as follows:

dsquery * dc=savilltech,dc=net -filter "(&(objectcategory=group)(mail=*))" -limit 500 -attr displayName

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like