Link to home
Start Free TrialLog in
Avatar of KNBsysteembeheer01
KNBsysteembeheer01

asked on

Bypass distributiongroup setting

Hi Exports, I have this script that sets the RequireSenderAuthentication setting on true.
It works like a charm but now I have 3 DistributionGroup where the setting should be on false.
Can someone please help me to edit this file so I can reach my goal?

This how the script looks like:

Get-DistributionGroup | where {$_.RequireSenderAuthenticationEnabled -eq $False} | Set-DistributionGroup -RequireSenderAuthenticationEnabled $True

Kind regards,

Len
ASKER CERTIFIED SOLUTION
Avatar of Premkumar Yogeswaran
Premkumar Yogeswaran
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KNBsysteembeheer01
KNBsysteembeheer01

ASKER

Premkumar! You're the man! Thanks a lot for your help.
I've tested it and it worked great!

Kind regards,

Len
Thanks for the grade len

Cheers,
Prem