Exchange Online Protection PowerShell

Exchange Online Protection PowerShell is the administrative interface that enables you to manage your Exchange Online Protection (EOP) organization from the command line. For example, you can use Exchange Online Protection PowerShell to configure mail flow rules (also known as transport rules) and connectors. The following topics provide information about using Exchange Online Protection PowerShell:

  • To create a remote PowerShell session to your Exchange Online Protection organization, see Connect to Exchange Online Protection PowerShell.

  • For a sample script that lets admins who manage multiple tenants (companies) apply configuration settings to their tenants, see Sample script for applying EOP settings to multiple tenants.

  • The following introductory video shows you how to connect to and use Exchange Online Protection PowerShell.

    Note: This video applies to Exchange Online and EOP organizations. When you connect to your organization, be careful to specify the correct URL (ConnectionUri value). The required URL is different for Exchange Online and EOP organizations.

    Use Remote PowerShell in EOP