Forum Discussion

WilliamTan30's avatar
WilliamTan30
Tin Contributor
Apr 04, 2019

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

  • Blocked how? By end users, by transport rules, by spam filter policies? 

      • VasilMichev's avatar
        VasilMichev
        MVP

        Here's how to get those:

         

        Get-HostedContentFilterPolicy -Identity 'Default' | fl Blocked*,Allowed*

    • WilliamTan30's avatar
      WilliamTan30
      Tin 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?