Thanks Paul, I did figure out a query but yours is much cleaner. I also found a query that spits out a list of email time stamps that a distribution list has received still in the logs using message tracking. I was just going to query each group in a script and scan the results. Do you know how I would query and just give a count for each group in the results and also a count of members? Then I'll just nuke all the old groups that haven't received emails or don't have members.
Thanks From: [email protected] [mailto:[email protected]] On Behalf Of Ramatowski, Paul M.. Sent: Wednesday, October 21, 2015 2:07 PM To: [email protected] Subject: RE: [Exchange] Internet Enabled Group Attribute/Query? Different value, RequireSenderAuthenticationEnabled Run it in Exchange Management Shell- Console output: Get-DistributionGroup -ResultSize unlimited | select Displayname, RequireSenderAuthenticationEnabled Csv Output: Get-DistributionGroup -ResultSize unlimited | select Displayname, RequireSenderauthenticationenabled | Export-Csv DGAuth.csv From: [email protected] <mailto:[email protected]> [mailto:[email protected]] On Behalf Of N Parr Sent: Wednesday, October 21, 2015 2:52 PM To: [email protected] <mailto:[email protected]> Subject: RE: [Exchange] Internet Enabled Group Attribute/Query? Let me clarify. I do mean internet enabled, not mail enabled. And specifically I'm restricting that by checking the box under "message delivery restrictions" that says "require that all senders are authenticated". If that's checked only internal AD authenticated users can send email to that group/user/etc. Historically that's how we've kept internal distribution groups and users from receiving outside email and being spammed. But I don't want to look through 125 groups to see which have the box checked when if I knew the attribute for that check box I could just do a query. And after googling that attribute I found my answer on the first result. msExchRequireAuthToSentTo Now I just need to figure out how to query all groups for it. Thanks From: [email protected] <mailto:[email protected]> [mailto:[email protected]] On Behalf Of Daniel Chenault Sent: Wednesday, October 21, 2015 12:17 PM To: [email protected] <mailto:[email protected]> Subject: RE: [Exchange] Internet Enabled Group Attribute/Query? by definition all distribution groups are mail-enabled. Otherwise there would be no distribution. if you want to know which of your security groups are mail-enabled, try this: http://www.lewisroberts.com/2010/08/16/extract-all-mail-enabled-groups-with- powershell-and-adsi/ > From: [email protected] <mailto:[email protected]> > To: [email protected] <mailto:[email protected]> > Subject: [Exchange] Internet Enabled Group Attribute/Query? > Date: Wed, 21 Oct 2015 10:00:44 -0500 > > I'm trying to query (using Hyena at the moment because my PS skill are practically non-existent) which of my distribution groups are mail enabled. My Google Fu is failing me, can anyone point me in the direction of the attribute name? Exch 2010 > Thanks > > >
