CmdID / PowerShell / Cmdlets / Get
Get-MailDetailATPReport
Use the Get-MailDetailATPReport cmdlet to list details about Microsoft Defender for Office 365 detections in your cloud-based organization for the last 10 days. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-DataSource-DirectionThe Direction parameter filters the results by incoming or outgoing messages.-DomainThe Domain parameter filters the results by an accepted domain in the cloud-based organization.-EndDateThe EndDate parameter specifies the end date of the date range.-EventTypeThe EventType parameter filters the report by the event type.-MessageIdThe MessageId parameter filters the results by the Message-ID header field of the message.-MessageTraceIdThe MessageTraceId parameter filters the results by the message trace ID value of the message.-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.-ProbeTagThis parameter is reserved for internal Microsoft use.-RecipientAddressThe RecipientAddress parameter filters the results by the recipient's email address.-SenderAddressThe SenderAddress parameter filters the results by the sender's email address.-StartDateThe StartDate parameter specifies the start date of the date range.