[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Exchange 2007 message count

Posted on 2011-09-15
7
Medium Priority
?
314 Views
Last Modified: 2012-05-12
I am trying to get a total count of all emails that have been sent or received through my exchange 2007 server and I just want to look at it for 1 day. Can you recommend the best way to get this info. I tried to use perfmon on the exchange 2007 server by adding a monitor but it didn't collect any data. Can someone tell me a good shell command that will give me this by using the messagetrackinglog?
0
Comment
Question by:atlbearcat
  • 4
  • 3
7 Comments
 
LVL 49

Expert Comment

by:Akhater
ID: 36546039
the performance log should work did you run it on the hub server? what counter did you add?

the below should also do it
(Get-MessageTrackingLog -Start 09-15-2011 -ResultSize unlimited  -EventId receive).count
0
 

Author Comment

by:atlbearcat
ID: 36546178
I ran the MSExchange Transport SMTPReceive and smtpsend and selected total received and total sent. I tried your code above but it doesn't give me anything back.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36546197
did you run it on a hub server ?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:atlbearcat
ID: 36546215
Yes. We have 3 exchange servers and they all have mailbox, client access and hub transport on them and i ran the perfmon on each of them.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36546222
what about the script ? does it return anything if you simply run

Get-MessageTrackingLog
0
 

Author Comment

by:atlbearcat
ID: 36546250
I think I got the perfmon to work this time. Not sure why it didn't take the first time since i went through same process. Anyway, I'll just wait to see what kind of results I get. Thanks for the help.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 2000 total points
ID: 36546257
the perfomrance monitor counter will reset every time you restart the transport service
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question