Create an Exchange Online report on SPAM, phishing, and malware using PowerShell

It’s often useful for businesses to gather statistics on their current email traffic. This can be done via the Defender Portal in Microsoft 365 or using PowerShell. Generally, the standard Exchange Online Protection already allows you to view and analyze a significant amount of data (this feature is included in most standard plans; see Business or Enterprise plans ). However, it’s …