A chave é as opções -RecipientPathFilter
e -ReportTemplate
:
$reports = Search-MessageTrackingReport [email protected] -BypassDelegateChecking:$true
foreach ($report in $reports)
{
$r = Get-MessageTrackingReport $report.MessageTrackingReportId -RecipientPathFilter [email protected] -ReportTemplate RecipientPath -BypassDelegateChecking:$true
$r | Select-Object -Last 1 | % { $_.RecipientTrackingEvents }
}