Exchange Online Protection PowerShell

Exchange Online Protection PowerShell is the administrative interface that enables you to manage your standalone 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.

Note

Exchange Online Protection PowerShell is only used in standalone EOP organizations (for example, your Microsoft 365 subscription includes only standalone EOP without Exchange Online mailboxes to protect your on-premises email environment). If you have a Microsoft subscription that includes Exchnge Online mailboxes (E3, E5, etc.), you don't use Exchange Online Protection PowerShell; the same features are available in Exchange Online PowerShell.

The following topics provide information about using Exchange Online Protection PowerShell:

  • To create a remote PowerShell session to your standalone 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 standalone EOP organizations. When you connect to your organization, be sure to specify the correct URL (the ConnectionUri value). The required URL is different for Exchange Online and standalone EOP organizations.

    Use Remote PowerShell in EOP