Answered by:
How to save the following command tracking log results to txt file

Question
-
How to save the following command tracking log results to txt file: "c:\mytrackmessagelog.txt"
get-messagetrackinglog -Sender "xxxx@mydomain.com" -Start "10/20/2011 7:40:00 PM" -End "11/07/2011 10:30:00 PM"thanks for the helpful info
Monday, November 7, 2011 10:01 PM
Answers
-
get-messagetrackinglog -Sender "xxxx@mydomain.com" -Start "10/20/2011 7:40:00 PM" -End "11/07/2011 10:30:00 PM" > c:\mt.txt
Try that
SukhMonday, November 7, 2011 10:15 PM -
Or if you want 100% PowerShell cmdlets:
get-messagetrackinglog -Sender "xxxx@mydomain.com" -Start "10/20/2011 7:40:00 PM" -End "11/07/2011 10:30:00 PM" | out-file C:\mt.txt
Either should work.
Monday, November 7, 2011 10:25 PM
All replies
-
get-messagetrackinglog -Sender "xxxx@mydomain.com" -Start "10/20/2011 7:40:00 PM" -End "11/07/2011 10:30:00 PM" > c:\mt.txt
Try that
SukhMonday, November 7, 2011 10:15 PM -
Or if you want 100% PowerShell cmdlets:
get-messagetrackinglog -Sender "xxxx@mydomain.com" -Start "10/20/2011 7:40:00 PM" -End "11/07/2011 10:30:00 PM" | out-file C:\mt.txt
Either should work.
Monday, November 7, 2011 10:25 PM