Solved

Exchange 2007 message count

Posted on 2011-09-15
7
281 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
Does Powershell have you tied up in knots?

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

 

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 500 total points
ID: 36546257
the perfomrance monitor counter will reset every time you restart the transport service
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now