Michael Leonard
asked on
need an AD cmdlets or POSH script to change authentication settings on QBDG's
we have a requirement to change the "Message Delivery Restrictions" on 100+ Query based distribution groups [dynamic groups] to "Accept messages from" "All Senders"
all groups are in one OU.
can someone provide a way to make this change in bulk via script?
many thanks,
S.
all groups are in one OU.
can someone provide a way to make this change in bulk via script?
many thanks,
S.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What is yours currently set to for the groups?
ASKER
gkrew, it is currently set to only allow members of one group to send to it. need to clear this on all to allow all auth. to send to them. . thx
ASKER
figured it out. required -AcceptMessagesOnlyFromSen dersOrMemb ers $null
thx
thx
Try this cmdlet
Please note DynamicName is your CSV header
$Dynamic = Import-Csv C:\Dynamic.csv
Foreach ($DL in $Dynamic){
Set-DynamicDistributionGroup -Identity $DL.DynamicName -AcceptMessagesOnlyFrom:$null
}
Please note DynamicName is your CSV header
ASKER
Hi Suriyaehnop, sorry I already assigned the points before I saw your post.
thanks for the response and posh code.
S.
thanks for the response and posh code.
S.