Hi,
I've been asked to find all emails from any person from a certain company *@domain.* which have been sent to our company in the last year. For example all messages from wingtips.com.au or wingtips.com. I'm new to Exchange 2013 and was disappointed that there's no GUI and I have to use Exchange Management Shell. I've run the below script but it seems to only find messages from October and I know of a least two messages from that domain which it didn't pick up. The also what the time and date to be shown. What is wrong with this script?
Get-MessageTrackingLog –EventId Send -ResultSize Unlimited -Start “Oct 28 2013” | where{$_.sender -like "*@wingtips.*"} | Select-Object timestamp,sender,@{l="Recipients";e={$_.Recipients -join " "}},messagesubject | export-csv C:\temp\messagetrackinglog.csv
Many Thanks,
Andrew
I've been asked to find all emails from any person from a certain company *@domain.* which have been sent to our company in the last year. For example all messages from wingtips.com.au or wingtips.com. I'm new to Exchange 2013 and was disappointed that there's no GUI and I have to use Exchange Management Shell. I've run the below script but it seems to only find messages from October and I know of a least two messages from that domain which it didn't pick up. The also what the time and date to be shown. What is wrong with this script?
Get-MessageTrackingLog –EventId Send -ResultSize Unlimited -Start “Oct 28 2013” | where{$_.sender -like "*@wingtips.*"} | Select-Object timestamp,sender,@{l="Recipients";e={$_.Recipients -join " "}},messagesubject | export-csv C:\temp\messagetrackinglog.csv
Many Thanks,
Andrew