Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exchange Online Protection PowerShell is the administrative interface that enables you to manage cloud protection features for on-premises email environments from the command line. For example, you can use Exchange Online Protection PowerShell to configure anti-spam policies, mail flow rules (also known as transport rules) and connectors to support on-premises email protection.
Tip
All organizations with cloud mailboxes (Microsoft 365 A3/E3/G3, A5/E5/G5, Microsoft 365 Business Premium, etc.) use Exchange Online PowerShell to manage these same features for cloud email protection.
Exchange Online Protection PowerShell for cloud protection of on-premises email environments is available in the following scenarios:
- On-premises email environments (not just Microsoft Exchange): Mail from the internet passes through cloud protection and filtering before delivery to on-premises recipients. The cloud environment contains no mailboxes.
- Exchange Enterprise CAL with Services: The licenses for your on-premises Exchange organization include Exchange Enterprise CAL with Services (cloud protection of on-premises mailboxes is one of the services).
The following articles provide information about using Exchange Online Protection PowerShell for cloud protection of on-premises email environments:
To learn about the ExchangeOnlineManagement module that's required to connect to Exchange Online Protection PowerShell, see About the Exchange Online PowerShell module.
To learn about what's new in the Exchange Online PowerShell module, see What's new in the Exchange Online PowerShell module.
The connection instructions for Exchange Online Protection PowerShell and Exchange Online PowerShell are the same. For instructions, see Connect to Exchange Online PowerShell.
To learn about the structure and layout of the cmdlet reference articles, see Exchange cmdlet syntax.