rdefino
asked on
need o365 message trace where the subject doesn't get truncated
I need a query to pull a message trace for emails sent by xxxx.xxx.com on 8-6-2015 3:30pm - 4:30pm .
But when I run it from power shell the subject always show as "something like thi.......". it gets truncated. I need to get the entire subject and dump it to a csv file.
also my results will be over 5000 entries. not sure if there is a limit.
Any thoughts?
But when I run it from power shell the subject always show as "something like thi.......". it gets truncated. I need to get the entire subject and dump it to a csv file.
also my results will be over 5000 entries. not sure if there is a limit.
Any thoughts?
ASKER
How can I set this to just show delivered emails? Little confused on this. Since the limit export is 5000 I need to refine it a bit.
PS C:\Windows\system32> Get-MessageTrace -SenderAddress something@1234.com -StartDate “8/06/2015 15:30” -EndDate “8/06/2015 16:30” -PageSize 5000 |Export-Csv e:\kc_list.csv
PS C:\Windows\system32> Get-MessageTrace -SenderAddress something@1234.com -StartDate “8/06/2015 15:30” -EndDate “8/06/2015 16:30” -PageSize 5000 |Export-Csv e:\kc_list.csv
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
As for the 5k limit, you can use Page/PageSize parameters. Check the cmdlet help for more info: https://technet.microsoft.com/en-us/library/jj200704(v=exchg.150).aspx
Or this example on how to work with them: https://gallery.technet.microsoft.com:443/office/Office-365-Mail-Traffic-afa37da1