Here’s how using PowerShell in the Exchange Management Shell:
get-messagetrackinglog -EventID “RECEIVE” -Start “10/22/2013 10:30:00 AM” -End “10/22/2013 4:00:00 PM” -ResultSize Unlimited |fl >c:\trackinglog.txt
By the way, the “-ResultSize Unlimited” will get you the full results to your text file and not truncate it.