CmdID / PowerShell / Cmdlets / Get
Get-MessageTraceV2
Use the Get-MessageTraceV2 cmdlet to trace messages as they pass through the cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-EndDateThe EndDate parameter specifies the end date of the date range.-FromIPThe FromIP parameter filters the results by the source IP address.-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.-RecipientAddressThe RecipientAddress parameter filters the results by the recipient's email address.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SenderAddressThe SenderAddress parameter filters the results by the sender's email address.-StartDateThe StartDate parameter specifies the start date of the date range.-StartingRecipientAddressThe StartingRecipientAddress parameter is used with the EndDate parameter to query subsequent data for partial results while avoiding duplication.-StatusThe Status parameter filters the results by the delivery status of the message.-SubjectThe Subject parameter filters the results by the subject of the message.-SubjectFilterTypeThe SubjectFilterType parameter specifies how the value of the Subject parameter is evaluated.-ToIPThe ToIP parameter filters the results by the destination IP address.