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 only includes EOP (no Exchange mailboxes), and you use it to protect your on-premises email environment. If you have a Microsoft 365 subscription that includes Exchange Online mailboxes (E3, E5, etc.), you can't use Exchange Online Protection PowerShell; the same features are available in Exchange Online PowerShell.
The following articles provide information about using Exchange Online Protection PowerShell:
To create a remote PowerShell session to your standalone Exchange Online Protection organization that supports both modern authentication and multi-factor authentication (MFA), see Connect to Exchange Online Protection PowerShell.
To learn about the structure and layout of the cmdlet reference articles in Exchange Online Protection PowerShell, see Exchange cmdlet syntax.
For a sample script that lets admins who manage multiple organizations apply configuration settings to all of their organizations, see Sample script for applying EOP settings to multiple tenants.
Feedback
Submit and view feedback for