I have a small group of users who have a large amount of addresses added as blocked senders in Outlook. They have asked if I can stop these senders from getting into their mailbox (or more specifically their junk folder). As most Exchange/Outlook admins will know you can export this list to a text file. My initial thought (as I am loathe to lower the SCL within Exchange or Mail Security,) is to use something like the following after aggregating the addresses.
$blockedSenders=Get-Content -Path <Path of file> | Set-SenderFilterConfig -BlockedSenders $blockedSenders
My question is, is this the most efficient way of handling the problem (I do not know if the senders are spam or the users just don't want to get mail from them,) or am I overlooking a more obvious solution?