Solved

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

Posted on 2014-01-14
3
7,027 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
2
 

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

828 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