22 May 2014

Export exchange message tracking results in csv

default output of Export-CSV command for the output of Get-MessageTrackingLog will not show all properties in the correct format:


Recipients RecipientStatus
System.String[] System.String[]


Select-Object can be used to properly format the output for the Export-CSV command:


Select-Object Timestamp, Sender, {$_.Recipients}, {$_.RecipientStatus}

No comments:

Post a Comment