Email Size issue
Hi, Can any one tell me how can i get size of total emails during a particular period i am using this command Get-MessageTrackingLog -EventId RECEIVE -Start "08/01/2010 9:00AM" -End "08/31/2010 5:00PM" -resultsize unlimited | measure-object It gives the total email count but not be able to provide size of that count any quick help will be highly appreciated. Shah
September 8th, 2010 3:14pm

i dont see that get-messagetrackinglog has a way of getting the size of the email. use it with combination of the get-message. loop thru each instance of the result returned from the get-messagetrackinglog (this return the message id) you can use the message id for the get-message and then get size. dont have a machine around with exchange 2010, so couldnt give u the exact command. Thiyagu | MCTS/MCITP - Exchange 2007 | MCSE 2003[Messaging] | http://www.myExchangeWorld.com. This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2010 4:37pm

the message size is in the atribute TotalBytes of the get-messagetrackinglog cmdlet. U can try get-messagetrackinglog -resultsize Unlimited | measure-object -property TotalBytes -sum
September 8th, 2010 6:20pm

Thanks ZarkoC it worked for me after some appropriate changes. Shah
Free Windows Admin Tool Kit Click here and download it now
September 9th, 2010 7:21am

No problem!
September 9th, 2010 6:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics