# Get the past 72 hours of tracking logs and save to a CSV

#

Get-MessageTrackingLog -ResultSize Unlimited  -Start (Get-Date).AddHours(-72) | Select-Object Timestamp, EventId, Sender, @{Name="Recipients";Expression={$_.Recipients}}, @{Name="RecipientStatus";Expression={$_.RecipientStatus}}, MessageSubject | Export-Csv C:\$(Get-Date -f yyyy-MM-dd)-72hour-TrackingLog.csv