troubleshooting Question

help with this powershell script to get messagetracking for many mailbox recipients

Avatar of cawasaki
cawasaki asked on
ExchangeScripting LanguagesPowershell
8 Comments1 Solution777 ViewsLast Modified:
hello,

i need to use this script with many recipient, i have a txt file with 20 recipient like this:

toto1@mail.com
toto11@mail.com
toto111@mail.com
toto1111@mail.com
......

Get-ExchangeServer | where {$_.IsHubTransportServer -eq "true"} | sort-object Name | get-messagetrackinglog -Recipients:toto1@mail.com -EventID "RECEIVE" -Start "26/06/2013 17:11:00" -End "26/08/2014" -resultsize unlimited | select-object Timestamp,MessageSubject,Sender,@{Name="Recipients";Expression={$_.recipients}},totalbytes | export-csv "c:\export.csv"

thanks for help
ASKER CERTIFIED SOLUTION
Subash Sundharan
IT Infrastructure Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros