Forum Discussion
WilliamTan30
Apr 04, 2019Copper Contributor
Exchange online: Office 365
Hi Team,
Is there a powershell script that i could use to extract all blocked domains from my Office 365 Exchange online?
Appreciate your expert inputs.
Thanks!
5 Replies
Sort By
Blocked how? By end users, by transport rules, by spam filter policies?
- WilliamTan30Copper Contributor
Here's how to get those:
Get-HostedContentFilterPolicy -Identity 'Default' | fl Blocked*,Allowed*
- WilliamTan30Copper Contributor
VasilMichev Sorry i was referring to "Spam Filter"
- WilliamTan30Copper Contributor
VasilMichev Apology , We have blocked some Email addresses and Domains through Connection filtering and I'd like to know if there's a script that i could use to extract those information?