Distribution Lists that have the "Require that all senders are authenticated" Disabled

Hi all,

I was hoping someone would be able to help me with a Powershell script that would enable me to search for any Distribution Lists in my Exchange 2007 environment that have the "Require that all senders are authenticated " option disabled under the message Delivery Restrictions property.

Who is Participating?
EEhotlineConnect With a Mentor Commented:
You can run:

Get-DistributionGroup | ? {$_.RequireSenderAuthenticationEnabled -eq $false} | select Name,GroupType,PrimarySMTPAddress
Will SzymkowskiSenior Solution ArchitectCommented:
You can use the following Exchange Shell command below...

Get-DistributionGroup -filter * | ? {$_.RequireSenderAuthenticationEnabled -eq $false} | select samaccountname, grouptype, emailaddress

Open in new window

damejenAuthor Commented:
This hit the nail on the head. Though would it be possible to modify it slightly so I can find out who the Distribution List is Managed by?

I tried something like this but no luck:

[PS] C:\Windows\system32>Get-DistributionGroup -ResultSize Unlimited | ? {$_.RequireSenderAuthenticationEnabled -eq $false} | ? {$_.ReportToManagerEnabled
-eq $false} | select Name,GroupType,PrimarySMTPAddress | Export-Csv c:\DL.csv
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.