I need to add a DL to AcceptMessagesOnlyFromDLMembers attribute of SOME groups (not only one)
I have a powershell commad to do it for only one group.
Set-DistributionGroup -id 'DL01' -AcceptMessagesOnlyFromDLMembers ((Get-DistributionGroup 'DL01').AcceptMessagesOnlyFromDLMembers + 'InfoDL')
I get my DL list with,
Get-DistributionGroup -ResultSize unlimited -OrganizationalUnit domain.local/hosting/customer.com | where {($_.AcceptMessagesOnlyFrom -like "*") -or ($_.AcceptMessagesOnlyFromDLMembers -like "*")}
I want to add InfoDL to restrictions of customers.com DLs.
What is the best way to do it?
Those who are skilled in combat do not become angered, those who are skilled at winning do not become afraid. Thus the wise win before the fight, while the ignorant fight to win.
Need to support users over the internet? click here try our remote control online beta




