Solved

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

Posted on 2014-01-14
3
6,422 Views
Last Modified: 2014-01-16
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.


Thanks.
14-01-2014-16-53-05.png
0
Comment
Question by:damejen
3 Comments
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39779902
You can use the following Exchange Shell command below...

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

Open in new window


Will.
0
 
LVL 8

Accepted Solution

by:
EEhotline earned 500 total points
ID: 39780380
You can run:

Get-DistributionGroup | ? {$_.RequireSenderAuthenticationEnabled -eq $false} | select Name,GroupType,PrimarySMTPAddress
1
 

Author Closing Comment

by:damejen
ID: 39781674
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
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now