CmdID / PowerShell / Cmdlets / Get
Get-ContentMalwareMdoAggregateReport
Use the Get-ContentMalwareMdoAggregateReport cmdlet to view a summary detections by Safe Attachments for SharePoint, OneDrive, and Microsoft Teams in Microsoft Defender for Office 365. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-DetectionTechnologyThe DetectionTechnology parameter filters the results by what classified the file as malware.-EndDateThe EndDate parameter specifies the end date of the date range.-PageThe Page parameter specifies the page number of the results you want to view.-PageSizeThe PageSize parameter specifies the maximum number of entries per page.-StartDateThe EndDate parameter specifies the start date of the date range.-WorkloadThe Workload parameter filters the results by where the detected file is located.