Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8932
  • Last Modified:

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.


Thanks.
14-01-2014-16-53-05.png
0
damejen
Asked:
damejen
1 Solution
 
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


Will.
0
 
EEhotlineCommented:
You can run:

Get-DistributionGroup | ? {$_.RequireSenderAuthenticationEnabled -eq $false} | select Name,GroupType,PrimarySMTPAddress
2
 
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
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now