[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Exchange 2007 message count

Posted on 2011-09-15
7
Medium Priority
?
316 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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 

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

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

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

You finally migrated Public Folders to Office 365, decommissioned the Public Folder mailbox database and since then, when you send an email from on-premise to mail-enabled Public Folders, you get the following error: "Misconfigured public folder mai…
Upgrading from older Exchange server to the latest Exchange server can be tiresome, error-prone and risky, without being a seasoned exchange server administrators. It can become even problematic if you're an organization that runs on tight timeline…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

590 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