Thanks for this, all done and nobody knows that I am hungover.
-----Original Message-----
From: "joe" <[EMAIL PROTECTED]>
Date: Thu, 12 Jan 2006 08:27:11 
To:<[email protected]>
Subject: RE: [ActiveDir] Brain Freeze - export list of mail enabled groups and 
memberships.

This all assumes Exchange but... 
 
Mail *should* be populated but I am not positive if there is a hard req for it. 
 
A mailenabled group won't have a homeMDB value since it isn't a mailstore but a 
redirection. 
 
I would key off of mailnickname or legacyExchangeDN myself. Both are 
singlevalued indexed attributes so should yield good speed. 
 
Also I would probably dump the mailNickname and displayname as well in the 
dump. 
 
Note that this will not give nested results for a group and will not tell you 
which members aren't mailbox/mail-enabled which affects who will receive the 
message. To do those things would require a script or tool that goes looking 
for additional things. Not sure if one has been written for Exchange 200x. 
 
  joe 
 

 
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL 
PROTECTED]
Sent: Thursday, January 12, 2006 8:13 AM
To: [email protected]
Subject: RE: [ActiveDir] Brain Freeze - export list of mail enabled groups and 
memberships.

 
 
 
Jorge, is there any dependency on mail as a mail-enabled attribute?  Maybe 
population of proxyaddresses may be better?  Or having a homemdb value?
 
 
 
 
:m:dsm:cci:mvp  marcusoh.blogspot.com 
 
 
 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Almeida Pinto, 
Jorge de
Sent: Thursday, January 12, 2006 8:04 AM
To: [email protected]
Subject: RE: [ActiveDir] Brain Freeze - export list of mail enabled groups and 
memberships.
 
 
 
 
 
ADFIND -GC -B "" -F "(&(objectCategory=group)(mail=*))" sAMAccountname member
 
 
 
 
 
Jorge
 
 
From: [EMAIL PROTECTED] on behalf of Mark Parris
Sent: Thu 2006-01-12 13:40
To: ActiveDir.org
Subject: [ActiveDir] Brain Freeze - export list of mail enabled groups and 
memberships.
 
 
I have got a major hangover today and I have been asked to export a list of 
mail enabled groups and memberships.

Can anyone please remind me what the utility is to do this or give me a pointer 
to a script.

Thanks

Regards

Mark
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to