message trace

Brass Contributor

Hi experts 

Thanks alot when i run the below command in O365, except message id i am not getting any information

 

Get-MessageTrace -sender user1@mydomain.com -recipient user2@mydomain.com -start "06/13/2018 00:00" -end "06/23/2018 23:59" | select  MessageSubject,Timestamp,Eventid,Source,Sender,Recipients,SourceContext,MessageId,ServerHostname | Export-Csv C:\output.csv -NoTypeInformation

1 Reply

None of the properties you have listed exist, so it's normal to only get the MessageId. Run this to see the list of available properties, then adjust the output accordingly:

 

Get-MessageTrace -sender user1@mydomain.com -recipient user2@mydomain.com -start "06/13/2018 00:00" -end "06/23/2018 23:59" | select -First 1  | Fl *