<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Exchange Server Pro</title>
	
	<link>http://exchangeserverpro.com</link>
	<description>Microsoft Exchange Server News - Tips - Tutorials</description>
	<lastBuildDate>Mon, 14 May 2012 11:31:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ExchangeServerPro" /><feedburner:info uri="exchangeserverpro" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>ExchangeServerPro</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>I’m on the Coalface Tech Podcast</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/Qvc8IKxQBgQ/coalface-tech-podcast</link>
		<comments>http://exchangeserverpro.com/coalface-tech-podcast#comments</comments>
		<pubDate>Mon, 14 May 2012 11:31:07 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Exchange 15]]></category>
		<category><![CDATA[Podcasts]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4815</guid>
		<description><![CDATA[In this podcast we talk about some of the rumours around the upcoming Exchange 15, going into a bit more detail about the leaks and observations I published in a recent post.]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-4816" title="coalface-tech-podcast" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/coalface-tech-podcast.jpg" alt="" width="589" height="189" /></p>
<p>Just over a week ago I recorded an interview with <a href="http://twitter.com/thehuxman">Mick</a> and <a href="http://twitter.com/chrisbrownie">Chris</a> from the Coalface Tech podcast, and they&#8217;ve now <a href="http://www.autechheads.com/webcasts/coalface-tech-podcast/listen/videoid/133/coalface-tech-episode-25-vegas-vacation">published the first part online</a>.</p>
<p>In this podcast we talk about some of the rumours around the upcoming <a href="http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15">Exchange 15</a>, going into a bit more detail about the leaks and observations I published in <a href="http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15">this recent post</a>.</p>
<p>You can listen to the interview <a href="http://www.autechheads.com/webcasts/coalface-tech-podcast/listen/videoid/133/coalface-tech-episode-25-vegas-vacation">here</a>.</p>
<p>Thanks again to Mick and Chris for having me as a guest, it was a lot of fun.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15" title="Observations: What to Expect from Exchange 15">Observations: What to Expect from Exchange 15</a></li><li><a href="http://exchangeserverpro.com/i-dont-write-about-apple-products" title="I don’t write about Apple products">I don’t write about Apple products</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/coalface-tech-podcast">I&#8217;m on the Coalface Tech Podcast</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=Qvc8IKxQBgQ:k5wO09OGoc4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=Qvc8IKxQBgQ:k5wO09OGoc4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=Qvc8IKxQBgQ:k5wO09OGoc4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=Qvc8IKxQBgQ:k5wO09OGoc4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=Qvc8IKxQBgQ:k5wO09OGoc4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/Qvc8IKxQBgQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/coalface-tech-podcast/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/coalface-tech-podcast</feedburner:origLink></item>
		<item>
		<title>Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/uP13DqD89Pg/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs</link>
		<comments>http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs#comments</comments>
		<pubDate>Thu, 10 May 2012 11:00:14 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Log Parser]]></category>
		<category><![CDATA[Protocol Logs]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4808</guid>
		<description><![CDATA[How to generate a report of the number of SMTP errors occurring on an Exchange server using Log Parser and the Exchange protocol logs.]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://exchangeserverpro.com">Exchange Server 2010</a> protocol logs can reveal some interesting information to you about the number of SMTP errors that are occurring for connections to or from your server.</p>
<p>This information is useful for scenarios such as checking whether your outbound mail may experiencing a high rate of failure, or discovering whether someone is continually trying to relay through your email server (in which case you could then look at the <a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser">top sender IP addresses</a> to investigate further).</p>
<p>Remember that protocol logging is not enabled by default on Exchange 2010, and must be enabled on a per-connector basis if you want to use it.</p>
<p>For SMTP error statistics we can use Log Parser to check the protocol logs for instances of <a href="http://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xml">SMTP status codes</a> starting with &#8220;5&#8243; (which are permanent failures). The Log Parser query for this is as follows:</p>
<pre>SELECT data as [Status Code],
	Count(*) as Hits
FROM *.log
WHERE data LIKE '5%'
GROUP BY data
ORDER BY Hits DESC</pre>
<p>When run from the folder containing the protocol logs it will be as follows:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT data as [Status Code],Count(*) as Hits FROM *.log WHERE data LIKE '5%' GROUP BY data ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will give you output similar to this:</p>
<pre>Status Code                                       Hits
------------------------------------------------- ----
500 5.3.3 Unrecognized command                    3632
501 5.1.3 Invalid address                         1411
501 5.1.7 Invalid address                         200
554 5.4.6 Hop count exceeded - possible mail loop 100
503 5.5.2 Send hello first                        20
503 5.5.2 Sender already specified                4
501 5.5.4 Unrecognized parameter                  2
504 5.7.4 Unrecognized authentication type        1

Statistics:
-----------
Elements processed: 13113294
Elements output:    8
Execution time:     150.15 seconds (00:02:30.15)</pre>
<p>You can also report on the number of SMTP errors occurring each day to get a baseline, which will help when you need to identify whether a sudden spike in SMTP errors has occurred. This Log Parser query will be as follows:</p>
<pre>SELECT TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING([#Fields: date-time]),0,'T'), 'yyyy-MM-dd')) AS Date,
	COUNT(*) AS Hits
FROM *.log
WHERE (data LIKE '5%')
GROUP BY Date
ORDER BY Date ASC</pre>
<p>When run from the protocol log directory it will be as follows:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING([#Fields: date-time]),0,'T'), 'yyyy-MM-dd')) AS Date, COUNT(*) AS Hits from *.log where (data LIKE '5%') GROUP BY Date ORDER BY Date ASC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>And of course, provided you have the Office Web Components installed, you can generate a graph of this same data.</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING([#Fields: date-time]),0,'T'), 'yyyy-MM-dd')) AS Date, COUNT(*) AS [SMTP Errors] INTO DailySMTPErrors.gif from *.log where (data LIKE '5%') GROUP BY Date ORDER BY Date ASC" -i:CSV -nSkipLines:4 -chartType:Column3D</pre>
<p>Which will give you a graph similar to this:</p>
<p><img class="aligncenter size-full wp-image-4809" title="DailySMTPErrors" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/DailySMTPErrors.gif" alt="" width="590" height="442" /></p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser" title="Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser">Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser" title="Calculate Daily Email Traffic using Message Tracking Logs and Log Parser">Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-log-parser" title="Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser">Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-powershell" title="Reporting Exchange Server 2010 Message Tracking Event IDs with PowerShell">Reporting Exchange Server 2010 Message Tracking Event IDs with PowerShell</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=uP13DqD89Pg:p-iEDNnkhHo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=uP13DqD89Pg:p-iEDNnkhHo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=uP13DqD89Pg:p-iEDNnkhHo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=uP13DqD89Pg:p-iEDNnkhHo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=uP13DqD89Pg:p-iEDNnkhHo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/uP13DqD89Pg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs</feedburner:origLink></item>
		<item>
		<title>Report Top Sender IP’s on Exchange Server 2010 using Log Parser</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/huqe0jqUtPM/exchange-2010-report-top-sender-ips-log-parser</link>
		<comments>http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser#comments</comments>
		<pubDate>Wed, 09 May 2012 11:00:56 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Hub Transport]]></category>
		<category><![CDATA[Log Parser]]></category>
		<category><![CDATA[Message Tracking]]></category>
		<category><![CDATA[Protocol Logs]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4802</guid>
		<description><![CDATA[How to use Log Parser, message tracking and protocol logs to report the top sender IPs for an Exchange 2010 Hub or Edge Transport server.]]></description>
			<content:encoded><![CDATA[<p>When you are investigating <a href="http://exchangeserverpro.com">Exchange</a> Transport server load one of the interesting pieces of data to look at is the IP addresses that are connecting to your server the most.</p>
<p>There are two different log sets that you can use for this:</p>
<ul>
<li>Protocol logs</li>
<li>Message Tracking logs</li>
</ul>
<p>One of the best ways to describe the difference between these is that protocol logs will capture SMTP connections that may or may not make it all the way in to the Transport pipeline. For example a connection from a spammer that gets blocked by <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers">IP filtering</a> will appear in the protocol logs but not the message tracking logs.</p>
<p>The detail captured in a protocol log will look a lot like what you would see if you were manually <a href="http://exchangeserverpro.com/how-to-send-email-via-telnet">testing SMTP via telnet</a> on a server.</p>
<p><a href="http://exchangeserverpro.com/exchange-2010-message-tracking">Message tracking logs</a> will capture messages that get processed through the Transport pipeline, and capture information such as message submission and delivery rather than the SMTP conversation that protocol logging reflects.</p>
<p>Message tracking is also turned on by default and is set per-server, whereas protocol logging is not turned on by default and is set per-connector.</p>
<p>For this demonstration I&#8217;ll be using my <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Edge Transport server</a> simply because it has slightly more interesting data since it receives a lot of connections from the internet.</p>
<h2>Get Top Sender IP&#8217;s from Protocol Logs with Log Parser</h2>
<p>To get the top sender IP&#8217;s from the protocol logs we can use this Log Parser query.</p>
<pre>SELECT EXTRACT_PREFIX(remote-endpoint,0,':') as IP,
	REVERSEDNS(EXTRACT_PREFIX(remote-endpoint,0,':')) as Name,
	Count(*) as Hits
FROM *.log
WHERE data LIKE '%EHLO%'
GROUP BY IP
ORDER BY Hits DESC</pre>
<p>When run from the folder containing the protocol logs (in this case C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive) it looks like this:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT EXTRACT_PREFIX(remote-endpoint,0,':') as IP,REVERSEDNS(EXTRACT_PREFIX(remote-endpoint,0,':')) as Name,Count(*) as Hits from *.log WHERE data LIKE '%EHLO%' GROUP BY IP ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will give you output similar to this:</p>
<pre>IP              Name                                    Hits
--------------- --------------------------------------- ----
83.222.31.220   v8622.vps.masterhost.ru                 52
204.13.248.72   mho-02-ewr.mailhop.org                  12
50.78.250.97    dcmail.designercabinetry.com            9
10.1.1.21       ho-ex2010-mb1.exchangeserverpro.net     8
64.61.92.26     static-64-61-92-26.isp.broadviewnet.net 7
217.108.179.228 mailhost.el-internationale.com          7
69.60.118.117   mail1.ambr.com.br                       4
10.1.1.22       ho-ex2010-mb2.exchangeserverpro.net     4
95.154.196.147  95.154.196.147                          4
118.22.2.202    pc2.land-ho-unet.ocn.ne.jp              3
187.108.193.223 cloud.newmediahost.com.br               2
109.169.77.169  109.169.77.169                          2
59.106.64.208   ns1.uranaikan.info                      2
204.13.248.71   mho-01-ewr.mailhop.org                  2
78.129.222.16   78.129.222.16                           2
199.119.76.15   mail.seoauditions.com                   1

Statistics:
-----------
Elements processed: 3359
Elements output:    16
Execution time:     17.41 seconds</pre>
<p>This part of the query string is important to note:</p>
<pre>WHERE data LIKE '%EHLO%'</pre>
<p>This means that only those log entries where the EHLO occurred will be counted in the stats that Log Parser outputs. If you leave it out you&#8217;ll see a &#8220;Hit&#8221; for every log entry a remote IP generated. Depending on how &#8220;chatty&#8221; that particular SMTP conversation was it may skew the results a little. However since we&#8217;re looking more for indicative numbers rather than precise numbers it doesn&#8217;t matter which way you choose to go (at least not to me).</p>
<h2>Get Top Sender IP&#8217;s from Message Tracking Logs with Log Parser</h2>
<p>For message tracking logs the syntax is a little different because the field names in the log files are different.</p>
<pre>SELECT client-ip as IP,
	REVERSEDNS(client-ip) as Name,
	Count(*) as Hits
FROM *.log
WHERE (event-id='RECEIVE')
GROUP BY IP
ORDER BY Hits DESC</pre>
<p>When run from the folder containing the message tracking logs (in this case C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking) it will look like this:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT client-ip as IP,REVERSEDNS(client-ip) as Name,Count(*) as Hits from *.log WHERE (event-id='RECEIVE') GROUP BY IP ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>If you get too much output you can limit it to the top X results by modifying the query slightly:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TOP 20 client-ip as IP,REVERSEDNS(client-ip) as Name,Count(*) as Hits from *.log WHERE (event-id='RECEIVE') GROUP BY IP ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will give you output similar to this:</p>
<pre>IP              Name                                 Hits
--------------- ------------------------------------ ----
204.93.210.179  mariajunco.com                       32
10.1.1.22       ho-ex2010-mb2.exchangeserverpro.net  23
216.151.172.180 hosted.airvm.net                     22
10.1.1.21       ho-ex2010-mb1.exchangeserverpro.net  22
83.142.48.139   83.142.48.139                        17
67.215.235.199  67.215.235.199.static.quadranet.com  13
109.169.76.124  109.169.76.124                       10
109.169.55.146  109.169.55.146                       10
109.169.62.15   109.169.62.15                        10
109.169.60.137  109.169.60.137                       9
173.254.208.113 173.254.208.113.static.quadranet.com 9
59.106.64.208   ns1.uranaikan.info                   8
72.11.150.131   72.11.150.131.static.quadranet.com   7
109.169.73.116  109.169.73.116                       7
109.169.55.135  109.169.55.135                       7
189.39.9.214    mail3.ibcbrasil.com.br               5
204.13.248.72   mho-02-ewr.mailhop.org               5
109.169.87.100  109.169.87.100                       4
109.169.84.105  109.169.84.105                       4
169.232.46.177  out-58.smtp.ucla.edu                 3

Statistics:
-----------
Elements processed: 1018
Elements output:    20
Execution time:     74.03 seconds (00:01:14.03)</pre>
<p>You can use this information in a lot of situations such as when investigating load issues, or planning to decommission servers</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs" title="Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a></li><li><a href="http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser" title="Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser">Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser" title="Calculate Daily Email Traffic using Message Tracking Logs and Log Parser">Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-log-parser" title="Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser">Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=huqe0jqUtPM:TAw4niukBrc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=huqe0jqUtPM:TAw4niukBrc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=huqe0jqUtPM:TAw4niukBrc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=huqe0jqUtPM:TAw4niukBrc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=huqe0jqUtPM:TAw4niukBrc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/huqe0jqUtPM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser</feedburner:origLink></item>
		<item>
		<title>Show Full Free/Busy Details for Exchange Server 2010 Room and Resource Mailboxes</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/9Nl_UrYt_88/show-full-freebusy-exchange-2010-room-resource-mailboxes</link>
		<comments>http://exchangeserverpro.com/show-full-freebusy-exchange-2010-room-resource-mailboxes#comments</comments>
		<pubDate>Sun, 06 May 2012 13:35:48 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Free/Busy]]></category>
		<category><![CDATA[Resource Mailboxes]]></category>
		<category><![CDATA[Room Mailboxes]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4788</guid>
		<description><![CDATA[How to show the full free/busy details to users for Exchange Server 2010 Room and Resource mailboxes.]]></description>
			<content:encoded><![CDATA[<p>In the comments of my article about <a href="http://exchangeserverpro.com/exchange-server-2010-room-mailboxes-step-by-step-guide">Exchange Server 2010 Room mailboxes</a> some readers wanted to know how they can configure the Room mailbox to show more details about existing meetings in the free/busy information that is revealed to other users on the network.</p>
<p>Consider the scenario where a room is booked, and perhaps another person wants to contact existing meeting organizers to ask if they can remove a booking to make room for a more important one, but the free/busy information (as seen in the Outlook Scheduling Assistant) doesn&#8217;t indicate who made the bookings.</p>
<p><img class="aligncenter size-full wp-image-4793" title="exchange-room-mailbox-free-busy-0" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-room-mailbox-free-busy-01.jpg" alt="" width="280" height="118" /></p>
<p>This is caused by the default permissions on the mailbox&#8217;s calendar. These default permissions are set to show only the availability information (eg free, busy, tentative) but not any other details.</p>
<p>In the calendar permissions (if you were modifying them via Outlook) it would look like this.</p>
<p><img class="aligncenter size-full wp-image-4794" title="exchange-room-mailbox-free-busy-1" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-room-mailbox-free-busy-1.jpg" alt="" width="391" height="363" /></p>
<p>If viewed in the shell it with <a href="http://technet.microsoft.com/en-us/library/dd335061.aspx">Get-MailboxFolderPermission</a> it would appear like this.</p>
<pre>[PS] C:\&gt;Get-MailboxFolderPermission homeetingroom1:\Calendar

RunspaceId   : 8706cde4-2cb5-4519-9a46-a46fcc0c450c
FolderName   : Calendar
User         : Default
AccessRights : {AvailabilityOnly}
Identity     : Default
IsValid      : True</pre>
<p>If you modified the permissions using Outlook the new permission level of Reviewer would allow other users to see more details about existing meetings.</p>
<p><img class="aligncenter size-full wp-image-4796" title="exchange-room-mailbox-free-busy-2" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-room-mailbox-free-busy-2.jpg" alt="" width="395" height="366" /></p>
<p>You can apply that same permission in the Exchange Management Shell using the <a href="http://technet.microsoft.com/en-us/library/ff522363.aspx">Set-MailboxFolderPermission</a> cmdlet (note: Set-MailboxFolderPermission modifies an existing entry, whereas <a href="http://technet.microsoft.com/en-us/library/dd298062.aspx">Add-MailboxFolderPermission</a> would be used to add a new entry to the permissions).</p>
<pre>Set-MailboxFolderPermission homeetingroom1:\Calendar -User Default -AccessRights Reviewer</pre>
<p>The results can be seen in the Get-MailboxFolderPermission output.</p>
<pre>[PS] C:\&gt;Get-MailboxFolderPermission homeetingroom1:\Calendar

RunspaceId   : 8706cde4-2cb5-4519-9a46-a46fcc0c450c
FolderName   : Calendar
User         : Default
AccessRights : {Reviewer}
Identity     : Default
IsValid      : True

RunspaceId   : 8706cde4-2cb5-4519-9a46-a46fcc0c450c
FolderName   : Calendar
User         : Anonymous
AccessRights : {None}
Identity     : Anonymous
IsValid      : True</pre>
<p>When creating a new meeting request users are now able to see more details about the meeting organizer.</p>
<p><img class="aligncenter size-full wp-image-4797" title="exchange-room-mailbox-free-busy-3" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-room-mailbox-free-busy-3.jpg" alt="" width="285" height="128" /></p>
<p>You can modify all the default permissions on Room mailboxes with the following commands in the Exchange Management Shell.</p>
<pre>[PS] C:\&gt;$rooms = Get-Mailbox -RecipientTypeDetails RoomMailbox
[PS] C:\&gt;$rooms | %{Set-MailboxFolderPermission $_":\Calendar" -User Default -AccessRights Reviewer}</pre>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/find-meeting-rooms" title="How to Find Available Meeting Rooms">How to Find Available Meeting Rooms</a></li><li><a href="http://exchangeserverpro.com/exchange-server-2010-room-mailboxes-step-by-step-guide" title="Exchange Server 2010 Room Mailboxes Step by Step Guide">Exchange Server 2010 Room Mailboxes Step by Step Guide</a></li><li><a href="http://exchangeserverpro.com/exchange-2007-room-mailbox-automatically-accepting-bookings" title="Exchange 2007 Room Mailbox Not Automatically Accepting Bookings">Exchange 2007 Room Mailbox Not Automatically Accepting Bookings</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-shared-calendar-permissions-nested-groups" title="Exchange 2010 Shared Calendar Permissions and Nested Groups">Exchange 2010 Shared Calendar Permissions and Nested Groups</a></li><li><a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs" title="Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/show-full-freebusy-exchange-2010-room-resource-mailboxes">Show Full Free/Busy Details for Exchange Server 2010 Room and Resource Mailboxes</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=9Nl_UrYt_88:8xbBF5Zsb2o:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=9Nl_UrYt_88:8xbBF5Zsb2o:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=9Nl_UrYt_88:8xbBF5Zsb2o:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=9Nl_UrYt_88:8xbBF5Zsb2o:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=9Nl_UrYt_88:8xbBF5Zsb2o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/9Nl_UrYt_88" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/show-full-freebusy-exchange-2010-room-resource-mailboxes/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/show-full-freebusy-exchange-2010-room-resource-mailboxes</feedburner:origLink></item>
		<item>
		<title>Managing the Replication Source for Exchange Server 2010 Mailbox Database Reseed</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/y6sl9JhDztM/managing-the-replication-source-for-exchange-server-2010-mailbox-database-reseed</link>
		<comments>http://exchangeserverpro.com/managing-the-replication-source-for-exchange-server-2010-mailbox-database-reseed#comments</comments>
		<pubDate>Wed, 02 May 2012 13:48:56 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[DAG]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Mailbox Server]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4777</guid>
		<description><![CDATA[How to choose the optimal source server for an Exchange Server 2010 mailbox database reseed operation.]]></description>
			<content:encoded><![CDATA[<p>In some Exchange Server 2010 environments the administrator may encounter a situation in which mailbox databases need to be reseeded from a single server in one site to multiple servers in another site.</p>
<p>Consider a scenario where the mailbox database is active in a site with a single mailbox server, and has passive copies in a site with two mailbox servers. The two mailbox servers hosting passive copies need reseeding due to some fault that has occurred.</p>
<div id="attachment_4778" class="wp-caption aligncenter" style="width: 600px"><img class="size-full wp-image-4778" title="Exchange Server 2010 multi-site DAG" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-2010-dag-reseed-1.jpg" alt="Exchange Server 2010 multi-site DAG" width="590" height="250" /><p class="wp-caption-text">Exchange Server 2010 multi-site DAG</p></div>
<p>If the reseed was commenced for both servers it would effectively mean the data was replicated across the WAN twice, which may not be ideal depending on the available bandwidth.</p>
<div id="attachment_4780" class="wp-caption aligncenter" style="width: 600px"><img class="size-full wp-image-4780" title="Exchange 2010 database reseed from active copy" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-2010-dag-reseed-21.jpg" alt="Exchange 2010 database reseed from active copy" width="590" height="250" /><p class="wp-caption-text">Exchange 2010 database reseed from active copy</p></div>
<p>This is because by default the database copy update operation uses the active copy of the database as the source. This would be the case if you ran the <a href="http://technet.microsoft.com/en-us/library/dd335201.aspx">Update-MailboxDatabaseCopy</a> cmdlet with only the mandatory parameters.</p>
<p>However if you use the console wizard to perform the operation you&#8217;ll notice an option to choose the source for the reseed.</p>
<div id="attachment_4781" class="wp-caption aligncenter" style="width: 491px"><img class="size-full wp-image-4781" title="Choosing a database reseed source in Exchange 2010" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-2010-dag-reseed-4.jpg" alt="Choosing a database reseed source in Exchange 2010" width="481" height="227" /><p class="wp-caption-text">Choosing a database reseed source in Exchange 2010</p></div>
<p>This allows you to perform the reseed more efficiently in terms of network bandwidth by reseeding one server first, and then using that passive copy as the source for the second reseed operation.</p>
<div id="attachment_4783" class="wp-caption aligncenter" style="width: 600px"><img class="size-full wp-image-4783" title="Exchange 2010 DAG reseed from passive copy" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/exchange-2010-dag-reseed-31.jpg" alt="Exchange 2010 DAG reseed from passive copy" width="590" height="250" /><p class="wp-caption-text">Exchange 2010 DAG reseed from passive copy</p></div>
<p>This can also be performed using Update-MailboxDatabaseCopy with the <strong>-SourceServer</strong> parameter, for example:</p>
<pre>Update-MailboxDatabaseCopy MB-HO-01\br-ex2010-mb -SourceServer ho-ex2010-mb2</pre>
<p>An alternative would be to reseed one server first, then move the active mailbox database copy to that server before commencing the second database reseed in that site.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/how-to-install-updates-on-exchange-server-2010-database-availability-groups" title="How to Install Updates on Exchange Server 2010 Database Availability Groups">How to Install Updates on Exchange Server 2010 Database Availability Groups</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-passive-database-copies-included-backups-dag-members" title="Exchange 2010: Are Passive Database Copies Included in Backups of DAG Members?">Exchange 2010: Are Passive Database Copies Included in Backups of DAG Members?</a></li><li><a href="http://exchangeserverpro.com/exchange-recovery-failed-dag-member-exchange-server-2010" title="Exchange Recovery: Failed DAG Member in Exchange Server 2010">Exchange Recovery: Failed DAG Member in Exchange Server 2010</a></li><li><a href="http://exchangeserverpro.com/how-to-reseed-a-failed-mailbox-database-copy-in-exchange-server-2010" title="How to Reseed a Failed Mailbox Database Copy in Exchange Server 2010">How to Reseed a Failed Mailbox Database Copy in Exchange Server 2010</a></li><li><a href="http://exchangeserverpro.com/exchange-server-2010-database-availability-group-installation-step-by-step" title="Exchange Server 2010 Database Availability Group Installation Step by Step">Exchange Server 2010 Database Availability Group Installation Step by Step</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/managing-the-replication-source-for-exchange-server-2010-mailbox-database-reseed">Managing the Replication Source for Exchange Server 2010 Mailbox Database Reseed</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=y6sl9JhDztM:1pJeUw3_4fk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=y6sl9JhDztM:1pJeUw3_4fk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=y6sl9JhDztM:1pJeUw3_4fk:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=y6sl9JhDztM:1pJeUw3_4fk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=y6sl9JhDztM:1pJeUw3_4fk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/y6sl9JhDztM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/managing-the-replication-source-for-exchange-server-2010-mailbox-database-reseed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/managing-the-replication-source-for-exchange-server-2010-mailbox-database-reseed</feedburner:origLink></item>
		<item>
		<title>Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/0Vu4eSfjeHE/calculate-hourly-email-traffic-using-message-tracking-log-parser</link>
		<comments>http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser#comments</comments>
		<pubDate>Wed, 02 May 2012 11:47:30 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Log Parser]]></category>
		<category><![CDATA[Message Tracking]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4762</guid>
		<description><![CDATA[How to use Log Parser to generate an hourly email traffic report from the Exchange Server message tracking logs.]]></description>
			<content:encoded><![CDATA[<p>Most <a href="http://exchangeserverpro.com">Exchange server </a>environments will demonstrate a predictable volume of email traffic throughout a typical day. However from time to time some problem may arise that causes an unusual spike in email traffic.</p>
<p>To be able to identify this type of problem you should first know what your normal email traffic patterns look like. You can find this information by using <a href="http://technet.microsoft.com/en-us/scriptcenter/dd919274">Log Parser</a> to search through your Exchange server&#8217;s <a href="http://exchangeserverpro.com/exchange-2010-message-tracking">message tracking logs</a>.</p>
<p>There are two ways to look at this traffic.</p>
<ul>
<li>As a total of the traffic per hour for all days combined</li>
<li>As the traffic per hour for each separate day</li>
</ul>
<h2>Total Email Traffic Per Hour for All Days Combined</h2>
<p>First let&#8217;s look at the Log Parser query to calculate the total email traffic per hour for all days combined.</p>
<pre>SELECT QUANTIZE(TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING(EXTRACT_SUFFIX([#Fields: date-time],0,'T')),0,'.'), 'hh:mm:ss')),3600) AS Hour,
	COUNT(*) AS Messages
FROM *.log
WHERE (event-id='RECEIVE')
GROUP BY Hour
ORDER BY Hour ASC</pre>
<p>When run from the folder where the message tracking logs are located the full syntax is:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT QUANTIZE(TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING(EXTRACT_SUFFIX([#Fields: date-time],0,'T')),0,'.'), 'hh:mm:ss')),3600) AS Hour, COUNT(*) AS Messages from *.log where (event-id='RECEIVE') GROUP BY Hour ORDER BY Hour ASC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will return results similar to these:</p>
<pre>Hour     Messages
-------- --------
00:00:00 408
01:00:00 415
02:00:00 363
03:00:00 347
04:00:00 273
05:00:00 327
06:00:00 403
07:00:00 450
08:00:00 590
09:00:00 574
10:00:00 637
11:00:00 810
12:00:00 612
13:00:00 597
14:00:00 700
15:00:00 789
16:00:00 821
17:00:00 448
18:00:00 396
19:00:00 527
20:00:00 346
21:00:00 476
22:00:00 348
23:00:00 448

Statistics:
-----------
Elements processed: 106823
Elements output:    24
Execution time:     0.58 seconds</pre>
<p>You can also generate graphs straight from Log Parser (if you have the required Office Web Components installed) with slightly different syntax like this:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT QUANTIZE(TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING(EXTRACT_SUFFIX([#Fields: date-time],0,'T')),0,'.'), 'hh:mm:ss')),3600) AS Hour, COUNT(*) AS [Messages per Hour] INTO HourlyTraffic.gif from *.log where (event-id='RECEIVE') GROUP BY Hour ORDER BY Hour ASC" -i:CSV -nSkipLines:4 -chartType:Column3D</pre>
<p>That Log Parser query will generate a column graph for you similar to this.</p>
<p><img class="aligncenter size-full wp-image-4766" title="Hourly Traffic Graph via Log Parser" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/HourlyTraffic1.gif" alt="" /></p>
<h2>Total Email Traffic Per Hour for Each Separate Day</h2>
<p>If you&#8217;d rather see the hourly traffic for each separate day you can use the following Log Parser query that handles the timestamps slightly differently.</p>
<pre>SELECT TO_LOCALTIME(QUANTIZE(TO_TIMESTAMP(TO_STRING(EXTRACT_PREFIX([#Fields: date-time],0,'.')), 'yyyy-MM-ddThh:mm:ss'),3600)) AS Hour,
	COUNT(*) AS Messages
FROM *.log
WHERE event-id='RECEIVE'
GROUP BY Hour
ORDER BY Hour ASC</pre>
<p>The full Log Parser command when run from the folder containing the message tracking logs is as follows:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TO_LOCALTIME(QUANTIZE(TO_TIMESTAMP(TO_STRING(EXTRACT_PREFIX([#Fields: date-time],0,'.')), 'yyyy-MM-ddThh:mm:ss'),3600)) AS Hour, COUNT(*) AS Messages from *.log where event-id='RECEIVE' GROUP BY Hour ORDER BY Hour ASC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will generate a lot of output depending on the amount of log retention you have configured.</p>
<pre>Hour                Messages
------------------- --------
2012-04-05 10:00:00 48
2012-04-05 11:00:00 77
2012-04-05 12:00:00 35
2012-04-05 13:00:00 74
2012-04-05 14:00:00 84
2012-04-05 15:00:00 86
2012-04-05 16:00:00 79
2012-04-05 17:00:00 35
2012-04-05 18:00:00 44
2012-04-05 19:00:00 24
2012-04-05 20:00:00 41
2012-04-05 21:00:00 19
2012-04-05 22:00:00 40
2012-04-05 23:00:00 59
2012-04-06 00:00:00 28
2012-04-06 01:00:00 42
2012-04-06 02:00:00 22
2012-04-06 03:00:00 31
2012-04-06 04:00:00 16
2012-04-06 05:00:00 31
2012-04-06 06:00:00 40
2012-04-06 07:00:00 22
2012-04-06 08:00:00 84
2012-04-06 09:00:00 77
2012-04-06 10:00:00 46
2012-04-06 11:00:00 84
....</pre>
<p>As with other Log Parser results you can output this one to a graph as well (again, providing that you have the Office Web Components installed).</p>
<p>Because of the amount of data a line graph seems more appropriate than a column graph. The default size of a graph generated by Log Parser is 640&#215;480, but you can use the <strong>-groupsize</strong> parameter to set a custom <strong>width x height</strong> that suits the amount of data being included.</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TO_LOCALTIME(QUANTIZE(TO_TIMESTAMP(TO_STRING(EXTRACT_PREFIX([#Fields: date-time],0,'.')), 'yyyy-MM-ddThh:mm:ss'),3600)) AS Hour, COUNT(*) AS Messages INTO DailyTrafficPerHour.gif from *.log where event-id='RECEIVE' GROUP BY Hour ORDER BY Hour ASC" -i:CSV -nSkipLines:4 -chartType:Line -groupsize:1024x480</pre>
<p>&nbsp;</p>
<p><img class="aligncenter size-large wp-image-4786" title="DailyTrafficPerHour2" src="http://exchangeserverpro.com/wp-content/uploads/2012/05/DailyTrafficPerHour2-600x281.gif" alt="" width="600" height="281" /></p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser" title="Calculate Daily Email Traffic using Message Tracking Logs and Log Parser">Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-log-parser" title="Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser">Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser</a></li><li><a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs" title="Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-powershell" title="Reporting Exchange Server 2010 Message Tracking Event IDs with PowerShell">Reporting Exchange Server 2010 Message Tracking Event IDs with PowerShell</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser">Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=0Vu4eSfjeHE:K5E7tK2ddNc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=0Vu4eSfjeHE:K5E7tK2ddNc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=0Vu4eSfjeHE:K5E7tK2ddNc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=0Vu4eSfjeHE:K5E7tK2ddNc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=0Vu4eSfjeHE:K5E7tK2ddNc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/0Vu4eSfjeHE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser</feedburner:origLink></item>
		<item>
		<title>How to Set Up an Automated Exchange 2010 Database Backup Alert Email</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/x2Ery9Rt0ys/set-automated-exchange-2010-database-backup-alert-email</link>
		<comments>http://exchangeserverpro.com/set-automated-exchange-2010-database-backup-alert-email#comments</comments>
		<pubDate>Mon, 30 Apr 2012 13:11:21 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Backups]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Mailbox Server]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4242</guid>
		<description><![CDATA[Learn how to use PowerShell to automatically monitor your Exchange Server 2010 database backups and send an alert email when recent backups have not been successful.]]></description>
			<content:encoded><![CDATA[<p>In recent articles I&#8217;ve taken you step by step through some techniques for <a href="http://exchangeserverpro.com/powershell-how-to-send-email">sending email from PowerShell scripts</a>. If you haven&#8217;t read those articles yet you can find them here:</p>
<ul>
<li><a href="http://exchangeserverpro.com/powershell-how-to-send-email">Part 1 – How to Send SMTP Email Using PowerShell</a></li>
<li><a href="http://exchangeserverpro.com/powershell-email-message-body">Part 2 - How to Add a Message Body to Emails Sent from Scripts</a></li>
<li><a href="http://exchangeserverpro.com/powershell-send-html-email">Part 3 - How to Add a HTML Message Body to Emails Sent from Scripts</a></li>
<li><a href="http://exchangeserverpro.com/powershell-html-email-formatting">Part 4 - How to Create Formatted HTML Output from Scripts</a></li>
</ul>
<p>I also shared with you a script that can be used to <a href="http://exchangeserverpro.com/powershell-script-check-exchange-2010-database-backups">check Exchange Server 2010 database backups</a> and alert you to any that have not had a recent backup.</p>
<p>Now it&#8217;s time to bring all of that information together and demonstrate how you can set up an automated database backup alert email for your <a href="http://exchangeserverpro.com">Exchange Server 2010</a> environment.</p>
<p>The two components of this are:</p>
<ul>
<li>The PowerShell script itself (we&#8217;ll use the one mentioned earlier but with some modifications to email-enable it)</li>
<li>Task Scheduler for automatically running the script each day</li>
</ul>
<h2>Script for Exchange Server 2010 Database Backup Email Alerts</h2>
<p>To email-enable the script I&#8217;ve made just a few modifications. The original script used this conditional logic to display the report in the PowerShell window.</p>
<pre>#If alert flag is true output the report
if ($alertflag -eq $true )
{
	Write-Host "The following databases have not been backed up in" $threshold "hours."
	$alerts | ft -AutoSize
}
else
{
	Write-Host "No backup alerts required."
}</pre>
<p>To change this to send an email alert we can use this code instead:</p>
<pre>#If alert flag is true send the email alert
if ($alertflag -eq $true )
{
	#HTML styles for nice formatting
        $style = "&lt;style&gt;BODY{font-family: Arial; font-size: 10pt;}"
	$style = $style + "TABLE{border: 1px solid black; border-collapse: collapse;}"
	$style = $style + "TH{border: 1px solid black; background: #CC0000; padding: 5px; color: #FFFFFF;}"
	$style = $style + "TD{border: 1px solid black; padding: 5px; }"
	$style = $style + "&lt;/style&gt;"

        #SMTP options for sending the report email
	$smtpServer = "ho-ex2010-caht1.exchangeserverpro.net"
	$smtpFrom = "reports@exchangeserverpro.net"
	$smtpTo = "administrator@exchangeserverpro.net"
	$messageSubject = "Exchange Backup Alerts"

        $intro = "The following databases have not been backed up in " + $threshold + " hours.&lt;BR&gt;&lt;BR&gt;"
	$report = $alerts | ConvertTo-Html -Fragment

	#Get ready to send email message
	$message = New-Object System.Net.Mail.MailMessage $smtpfrom, $smtpto
	$message.Subject = $messageSubject
	$message.IsBodyHTML = $true
	$message.Body = ConvertTo-Html -Body "$intro $report" -Head $style

	#Send email message
	$smtp = New-Object Net.Mail.SmtpClient($smtpServer)
	$smtp.Send($message)

}</pre>
<p>If any parts of that don&#8217;t make sense just refer to the previous tutorials on sending email with PowerShell.</p>
<p class="alert"><strong>Download the script file here:</strong> <a class="downloadlink" href="http://exchangeserverpro.com/wp-content/plugins/download-monitor/download.php?id=Get-DailyBackupAlerts.zip" title="Version 1.0 downloaded 176 times" >Get-DailyBackupAlerts.ps1</a> (downloaded 176 times so far)</p>
<p>If you&#8217;re using this script in your environment you will need to change the SMTP options to suit.</p>
<pre>
#SMTP options for sending the report email
$smtpServer = "ho-ex2010-caht1.exchangeserverpro.net"
$smtpFrom = "reports@exchangeserverpro.net"
$smtpTo = "administrator@exchangeserverpro.net"
$messageSubject = "Exchange Backup Alerts"
</pre>
<p>Save the script as <strong>Get-DailyBackupAlerts.ps1</strong> in a folder called <strong>C:\Scripts</strong> on the server where you would like it to run each day. Note that the script depends on the Exchange Server 2010 management tools, so they will also need to be installed.</p>
<h2>Using Task Scheduler to Run PowerShell Scripts</h2>
<p>Now we need to configure the scheduled task in Task Scheduler. On a Windows Server 2008 server you&#8217;ll find this in the <strong>Administrative Tools</strong>. After you&#8217;ve launched Task Scheduler click on <strong>Create Task</strong>.</p>
<p><img class="aligncenter size-full wp-image-4243" title="task-scheduler-powershell-script-01" src="http://exchangeserverpro.com/wp-content/uploads/2011/11/task-scheduler-powershell-script-01.jpg" alt="" width="305" height="290" />Give the task a meaningful name, set it to <strong>Run whether user is logged on or not</strong>, and also if necessary change the user account that it will run as (you may wish to create a special Exchange administrative account with a strong password for running these types of scripts).</p>
<p><img class="aligncenter size-full wp-image-4244" title="task-scheduler-powershell-script-02" src="http://exchangeserverpro.com/wp-content/uploads/2011/11/task-scheduler-powershell-script-02.jpg" alt="" width="590" height="439" />On the <strong>Triggers</strong> tab click new and add a <strong>Weekly</strong> trigger for each of your normal business days that you want the script to run (eg Monday &#8211; Friday). Set the <strong>Start</strong> time to suit your normal backups finishing time and your own work schedule.</p>
<p><img class="aligncenter size-full wp-image-4245" title="task-scheduler-powershell-script-03" src="http://exchangeserverpro.com/wp-content/uploads/2011/11/task-scheduler-powershell-script-03.jpg" alt="" width="556" height="439" /></p>
<p>On the <strong>Actions</strong> tab click <strong>New</strong> and add an action of Start a program. Configure the program of <strong>powershell.exe</strong> and the arguments <strong>-command &#8220;c:\scripts\get-dailybackupalerts.ps1&#8243;</strong></p>
<p><img class="aligncenter size-full wp-image-4248" title="task-scheduler-powershell-script-04" src="http://exchangeserverpro.com/wp-content/uploads/2011/11/task-scheduler-powershell-script-04.jpg" alt="" width="552" height="428" /></p>
<p>&nbsp;</p>
<p>Click <strong>OK</strong> to finish creating the new task. You will be prompted to enter the credentials for the account that you configured the task to run as.</p>
<p>Now you can test the scheduled task by right-clicking on it in the Task Scheduler Library and choosing <strong>Run</strong>.</p>
<p><img class="aligncenter size-full wp-image-4247" title="task-scheduler-powershell-script-05" src="http://exchangeserverpro.com/wp-content/uploads/2011/11/task-scheduler-powershell-script-05.jpg" alt="" width="503" height="244" />Assuming you have some databases that have not backed up recently you should receive an alert email shortly after running the scheduled task.</p>
<p><em>Note: if your backups are all up to date you can test the script by changing the <strong>$threshold</strong> variable to something very low such as <strong>1</strong>.</em></p>
<p><img class="aligncenter size-full wp-image-4249" title="exchange-2010-backup-alert-email" src="http://exchangeserverpro.com/wp-content/uploads/2011/11/exchange-2010-backup-alert-email.jpg" alt="" width="590" height="229" /></p>
<p class="alert"><strong>Download the script file here:</strong> <a class="downloadlink" href="http://exchangeserverpro.com/wp-content/plugins/download-monitor/download.php?id=Get-DailyBackupAlerts.zip" title="Version 1.0 downloaded 176 times" >Get-DailyBackupAlerts.ps1</a> (downloaded 176 times so far)</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/powershell-script-check-exchange-2010-database-backups" title="PowerShell Script: Check Exchange 2010 Database Backups">PowerShell Script: Check Exchange 2010 Database Backups</a></li><li><a href="http://exchangeserverpro.com/powershell-script-check-exchange-mailbox-database-backup-time" title="PowerShell Script: Check Exchange Mailbox Database Last Backup Time">PowerShell Script: Check Exchange Mailbox Database Last Backup Time</a></li><li><a href="http://exchangeserverpro.com/avoid-running-transaction-log-disk-space-exchange-servers" title="Avoid Running Out of Transaction Log Disk Space on Exchange Servers">Avoid Running Out of Transaction Log Disk Space on Exchange Servers</a></li><li><a href="http://exchangeserverpro.com/test-mailflow-exchange-2003-servers" title="Using Test-Mailflow with Exchange 2003 Servers">Using Test-Mailflow with Exchange 2003 Servers</a></li><li><a href="http://exchangeserverpro.com/health-check-exchange-2010-mailbox-server" title="How to Health Check an Exchange 2010 Mailbox Server">How to Health Check an Exchange 2010 Mailbox Server</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/set-automated-exchange-2010-database-backup-alert-email">How to Set Up an Automated Exchange 2010 Database Backup Alert Email</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=x2Ery9Rt0ys:EL5JtU-VvoI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=x2Ery9Rt0ys:EL5JtU-VvoI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=x2Ery9Rt0ys:EL5JtU-VvoI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=x2Ery9Rt0ys:EL5JtU-VvoI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=x2Ery9Rt0ys:EL5JtU-VvoI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/x2Ery9Rt0ys" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/set-automated-exchange-2010-database-backup-alert-email/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/set-automated-exchange-2010-database-backup-alert-email</feedburner:origLink></item>
		<item>
		<title>Observations: What to Expect from Exchange 15</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/5qWrCSHyX-E/observations-what-to-expect-from-exchange-15</link>
		<comments>http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15#comments</comments>
		<pubDate>Fri, 27 Apr 2012 11:20:41 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Exchange 15]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4749</guid>
		<description><![CDATA[Some thoughts and observations on the new features that may be coming soon with Exchange 15.]]></description>
			<content:encoded><![CDATA[<p>Although very little information has been made public about the next version of Microsoft Exchange Server there are still a few things that we may start to expect when it is officially announced.</p>
<p>To start with there is the small matter of the name. Some believe <a href="http://exchangeserverpro.com/exchange-server-2012">Exchange Server 2012</a> will be the name, while others think that <a href="http://exchangeserverpro.com/exchange-server-2013">Exchange Server 2013</a> is more likely. Given that some training companies have started creating their landing pages for Exchange 2013 training there is probably a little more weight on that side (do you think they may have some insider info?).</p>
<p>The Exchange 15 features I describe below should be considered speculation only, as they are all based on either:</p>
<ul>
<li>Leaks published by others</li>
<li>Surveys from Microsoft</li>
<li>General observations</li>
</ul>
<h2>Outlook Web App Offline Mode</h2>
<p>Of the few leaked bits of information is <a href="http://www.zdnet.com/blog/microsoft/microsoft-exchange-15-to-include-offline-owa-access-sources/12512">this one reported by Mary Jo Foley at ZDNet</a>, that OWA in Exchange 15 will have an “offline mode” thanks to the capabilities of HTML5.</p>
<p>Exchange MVP and Windows IT Pro columnist Tony Redmond wrote his own thoughts on this feature <a href="http://www.windowsitpro.com/blog/tony-redmonds-exchange-unwashed-50/exchange-server/owa-offline-ie10-142789">here</a>.</p>
<h2>Team Mailboxes</h2>
<p>Another part of Mary Jo’s article referred to a focus on collaboration not communication, with “team mailboxes” that integrate with SharePoint as a new feature.</p>
<p>Although we currently have the ability to share mailboxes in Exchange between multiple people they don’t provide any special functionality. What sort of improvements could Exchange deliver for teams?</p>
<p>Perhaps the SharePoint integration is the key in this. A mailbox that integrates smoothly with SharePoint workflows might be useful. Another possibility is that this will be the stepping stone that customers need to move them away from public folders for team workflows and into SharePoint, a move that Microsoft has been gently encouraging for several years.</p>
<h2>Public Folders</h2>
<p>Speaking of public folders, it seems they may still exist in Exchange 15, as they are included in a survey from Microsoft that I (and I assume many others) received for the Exchange 15 exam design.</p>
<p>Public folders may have a new twist though, with the exam survey referencing a skill of “Migrate to modern public folders”.</p>
<p>Depending on how you interpret that it could mean that public folders have undergone some improvements (which seems unlikely from what I heard about public folder development attention at Microsoft) or it may refer to a new platform for public folders (such as the team mailbox integration with SharePoint).</p>
<p>Or it could mean nothing at all.</p>
<h2>Client Access Front End</h2>
<p>The survey also mentions the “Exchange 15 CAS/CAFE”.</p>
<p>CAFE is presumably an acronym for Client Access Front End, which harks back to the Exchange 2003 “Front End server”, but in the context of today’s products, may have some similarities to Lync’s “Front End” server role.</p>
<p>I suspect that the CAFE is a way to formalise the use of CAS arrays, which initially were not promoted as a best practice for all Exchange 2010 deployments (even those without a CAS HA requirement) and only seemed to emerge as one sometime after the SP1 release date (and was recently reinforced <a href="http://blogs.technet.com/b/exchange/archive/2012/03/23/demystifying-the-cas-array-object-part-1.aspx">here</a>).</p>
<p>I could see CAFE configuration surfacing in the Exchange GUI management tools, or during Client Access server setup, and may include a capability to maintain a consistent configuration (e.g. external URLs and authentication settings on virtual directories) across multiple Client Access servers.</p>
<h2>Office 365</h2>
<p>There is no doubt that the cloud (and Office 365) is going to be a big part of messaging in the near future. The recent announcement of new cloud certifications from Microsoft is a strong indicator of that, even if you still think the cloud is over-hyped.</p>
<p>Hybrid scenarios are mentioned in the Exchange 15 exam survey so it would appear that Exchange 15 admins will be expected to understand both on-premise and cloud integration scenarios.</p>
<p>There is also the general trend in activity by Exchange Server MVPs. The information that the MVPs have access to is under strict NDA (by the way, I’m not an MVP so none of what I am writing here breaks an NDA) quite a few of them have been pursuing <a href="http://www.microsoft.com/learning/en/us/certification/cert-office.aspx#overview">Office 365 certifications</a> recently.</p>
<p>Of course that may simply be the tendency of MVPs to seek certification in the very latest things, or that many MVPs happen to work for companies that keep up with the latest technology.</p>
<h2>Data Loss Prevention</h2>
<p>The exam survey mentions Data Loss Prevention (DLP) as a feature of Exchange 15. It seems that Exchange 15 may ship with pre-build DLP rules as well as having the ability to configure custom rules and policies.</p>
<h2>Exchange Administration Center</h2>
<p>There are several mentions of the Exchange Administration Center (EAC). I suspect that this is the evolution of the Exchange Control Panel and may extend into allowing more Exchange administrative tasks to be performed through a web-based administration panel, instead of only having the choice of the slow GUI console or the learning curve of PowerShell.</p>
<p>Interestingly <a href="http://blogs.technet.com/b/exchange/archive/2009/08/27/3408112.aspx">Microsoft asked customers</a> if they would be interested in something similar to this back in 2009.</p>
<h2>Other Expectations</h2>
<p>Here are a few other brief items.</p>
<ul>
<li><strong>Database Availability Groups</strong> will remain as the model for mailbox server high availability. The Exchange 15 exam survey doesn’t hint at any significant changes to these.</li>
<li><strong>Address Book Policies</strong>, introduced with Exchange 2010 SP2, are also included in Exchange 15</li>
<li>Ability to configure <strong>Kerberos authentication for CAS</strong> is mentioned in the exam survey, suggesting that hardware load-balancing will continue to be a part of Exchange HA</li>
<li><strong>Workload Management Policies</strong> are briefly mentioned and may be an evolution of the client throttling polices in Exchange 2010</li>
</ul>
<p>As I said this is all my own observations and speculations, not based on any insider information. However if even a few of these turn out to be true it does make me feel excited about getting my hands on Exchange 15 when it reaches public beta.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/coalface-tech-podcast" title="I&#8217;m on the Coalface Tech Podcast">I&#8217;m on the Coalface Tech Podcast</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15">Observations: What to Expect from Exchange 15</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=5qWrCSHyX-E:fvyqJs94ebM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=5qWrCSHyX-E:fvyqJs94ebM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=5qWrCSHyX-E:fvyqJs94ebM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=5qWrCSHyX-E:fvyqJs94ebM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=5qWrCSHyX-E:fvyqJs94ebM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/5qWrCSHyX-E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/observations-what-to-expect-from-exchange-15</feedburner:origLink></item>
		<item>
		<title>Dealing with Exchange Server Update Rollups and Forefront Protection for Exchange</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/ieEotEHaUXM/exchange-server-update-rollups-forefront-fscutility</link>
		<comments>http://exchangeserverpro.com/exchange-server-update-rollups-forefront-fscutility#comments</comments>
		<pubDate>Mon, 23 Apr 2012 13:41:32 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Update Rollups]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4743</guid>
		<description><![CDATA[How to use the CustomPatchInstallerActions.ps1 to avoid problems installing update rollups on Exchange servers that have Forefront installed]]></description>
			<content:encoded><![CDATA[<p>When Microsoft recently released the <a href="http://exchangeserverpro.com/update-rollup-2-exchange-2010-service-pack-2">latest update rollup for Exchange Server 2010</a> a few disgruntled customers left comments about the situation with Exchange update rollups and Forefront Protection for Exchange.</p>
<p>If you&#8217;re not a Forefront user or you&#8217;re otherwise unaware of the situation, the issue is that Forefront Protection for Exchange and update rollups don&#8217;t play nicely together. For example during installation the update rollup can hang at stages such as restarting the Exchange services after the update has been applied.</p>
<div id="attachment_4744" class="wp-caption aligncenter" style="width: 600px"><img class="size-full wp-image-4744" title="Services not starting after Exchange Server rollup installation" src="http://exchangeserverpro.com/wp-content/uploads/2012/04/exchange-2010-installing-updates-forefront-fscutility-01.jpg" alt="Services not starting after Exchange Server rollup installation" width="590" height="351" /><p class="wp-caption-text">Services not starting after Exchange Server rollup installation</p></div>
<p>This is why each update rollup release comes with the following instructions:</p>
<blockquote><p>Note for Forefront Protection for Exchange users For those of you running Forefront Protection for Exchange, be sure you perform these important steps from the command line in the Forefront directory before and after this rollup&#8217;s installation process. Without these steps, Exchange services for Information Store and Transport will not start after you apply this update. Before installing the update, disable ForeFront by using this command: fscutility /disable. After installing the update, re-enable ForeFront by running fscutility /enable.</p></blockquote>
<p>As a result we see comments like these from disgruntled customers.</p>
<blockquote><p>Note for Forefront Protection for Exchange users: We still don&#8217;t care enough about you to add two lines to the setup script. Instead you have to do it manually. Or you can install the update via Microsoft Update and you&#8217;ll be in for a funny surprise.</p>
<p>Hey Microsoft&#8230;. could you not detect for your own software and automatically run the command fscutility /disable????, Now I cannot even get WUS to do this…. Annoyed! and feeling unappreciated as a FF customer</p></blockquote>
<p>Microsoft actually has <a href="http://blogs.technet.com/b/exchange/archive/2010/06/02/3410046.aspx">provided a solution for this</a>, back when Exchange Server 2007 SP2 was released, and appears to have carried it forward for Exchange Server 2010 as well. A script named <strong>CustomPatchInstallerActions.ps1</strong> can be used to perform pre- and post-installation tasks for update rollups.</p>
<p>I&#8217;m not sure why they don&#8217;t refer to it with each update rollup release, but as far as I can tell from my own testing it works fine.</p>
<p>Here is what you need to do.</p>
<ol>
<li>In the <strong>\Scripts</strong> folder of your Exchange 2010 installation find the file named <strong>CustomPatchInstallerActions.ps1.template</strong></li>
<li>Create a new sub-folder in \Scripts named <strong>Customizations</strong></li>
<li>Copy the script template into that sub-folder, and remove the <strong>.template</strong> extension</li>
<li>Edit the file with the customizations you want, and the next time you install an update rollup the script will be called automatically</li>
</ol>
<p>So what kind of customizations should you include? I did a little testing and here is what I suggest as a minimum. You&#8217;ll also find Microsoft&#8217;s advice <a href="http://support.microsoft.com/kb/929080">here</a>.</p>
<p>First, I ran <strong>fscutility /disable</strong> (from the <strong>C:\Program Files (x86)\Microsoft Forefront Protection for Exchange Server</strong> folder) to see what happens. I received the following output.</p>
<pre>Error:
  Microsoft Forefront Protection cannot be disabled at this time.  Please stop
  the following services and then rerun this utility.

   FSCController
   MSExchangeTransport
   MSExchangeIS</pre>
<p>So clearly some services need to be stopped first. That will need to go in the script.</p>
<p>After disabling those services <strong>fscutility /disable</strong> works successfully. So that can be run second.</p>
<pre>  Removing dependencies...

      dependency on FSCController removed from Microsoft Exchange Information Store
      dependency on FSEIMC removed from Microsoft Exchange Transport Service
      Microsoft Exchange Transport Service Agent registration removed

Status:  Microsoft Forefront Protection NOT Integrated.</pre>
<p>In the custom script itself the actions to perform before installing an update rollup go in the <strong>PrePatchInstallationActions</strong> function.</p>
<pre>function PrePatchInstallActions
{
                Log "Running PrePatchInstallActions"

		Log "Stopping services"
		Stop-Service FSCController,MSExchangeTransport,MSExchangeIS -Force

		Log "Disabling Forefront"
		$fscutility = "C:\Program Files (x86)\Microsoft Forefront Protection for Exchange Server\fscutility.exe"
		Invoke-Expression $fscutility /disable

}</pre>
<p>Notice I&#8217;ve also made use of the Log function that is in the script so that I can see in the log file later that my custom actions were run (or at least attempted to run). The log file is written to <strong>C:\ExchangeSetupLogs\CustomPatchInstallActions.log</strong></p>
<p>After the update rollup is finished installing there is a similar process involved to re-enable Forefront. These steps go in the <strong>PostPatchInstallActions</strong> function.</p>
<pre>function PostPatchInstallActions
{
                Log "Running PostPatchInstallActions"

		Log "Stopping services"
		Stop-Service FSCController,MSExchangeTransport,MSExchangeIS -Force

		Log "Enabling Forefront"
		$fscutility = "C:\Program Files (x86)\Microsoft Forefront Protection for Exchange Server\fscutility.exe"
		Invoke-Expression $fscutility /enable

		Log "Starting services"
		Start-Service FSCController,MSExchangeTransport,MSExchangeIS

}</pre>
<p>When I upgraded two servers side-by-side, one with the <strong>CustomPatchInstallerActions.ps1</strong> and one without, the one with the script updated without any problems and the one without hung while trying to start the services afterwards.</p>
<p>So in my testing this appears to work well, but it is something you should test in your own environment before relying on it too heavily.</p>
<p>Note that this script can be used for all kinds of situations even when Forefront is not installed. If you have any pre- or post-install actions required in your environment (eg running the <a href="http://exchangeserverpro.com/how-to-install-updates-on-exchange-server-2010-database-availability-groups">StartDagServerMaintenance.ps1</a> script, disabling backups, disabling other antivirus software, <a href="http://exchangeserverpro.com/powershell-how-to-send-email">sending an email alert</a> to your team) you can include those in this <strong>CustomPatchInstallerActions.ps1</strong> script.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/test-lab-email-traffic-generator-powershell-script" title="PowerShell Script to Generate Email Traffic in a Test Lab Environment">PowerShell Script to Generate Email Traffic in a Test Lab Environment</a></li><li><a href="http://exchangeserverpro.com/health-check-exchange-2010-mailbox-server" title="How to Health Check an Exchange 2010 Mailbox Server">How to Health Check an Exchange 2010 Mailbox Server</a></li><li><a href="http://exchangeserverpro.com/list-users-access-exchange-mailboxes" title="How to List all Users Who Have Access to Other Exchange Mailboxes">How to List all Users Who Have Access to Other Exchange Mailboxes</a></li><li><a href="http://exchangeserverpro.com/generate-html-report-exchange-2010-environment" title="How to Generate a HTML Report of Your Exchange 2010 Environment">How to Generate a HTML Report of Your Exchange 2010 Environment</a></li><li><a href="http://exchangeserverpro.com/powershell-script-check-exchange-mailbox-database-backup-time" title="PowerShell Script: Check Exchange Mailbox Database Last Backup Time">PowerShell Script: Check Exchange Mailbox Database Last Backup Time</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-server-update-rollups-forefront-fscutility">Dealing with Exchange Server Update Rollups and Forefront Protection for Exchange</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=ieEotEHaUXM:AYNb8PHIZgQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=ieEotEHaUXM:AYNb8PHIZgQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=ieEotEHaUXM:AYNb8PHIZgQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=ieEotEHaUXM:AYNb8PHIZgQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=ieEotEHaUXM:AYNb8PHIZgQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/ieEotEHaUXM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-server-update-rollups-forefront-fscutility/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/exchange-server-update-rollups-forefront-fscutility</feedburner:origLink></item>
		<item>
		<title>Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</title>
		<link>http://feedproxy.google.com/~r/ExchangeServerPro/~3/GgKHlpc8hR0/daily-email-traffic-message-tracking-log-parser</link>
		<comments>http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser#comments</comments>
		<pubDate>Tue, 17 Apr 2012 13:03:05 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Log Parser]]></category>
		<category><![CDATA[Message Tracking]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4738</guid>
		<description><![CDATA[How to use Log Parser to generate a daily email traffic report from the Exchange Server message tracking logs.]]></description>
			<content:encoded><![CDATA[<p>One of the useful reports you can extract from <a href="http://exchangeserverpro.com/exchange-2010-message-tracking">message tracking logs</a> is the daily email message traffic load for an <a href="http://exchangeserverpro.com">Exchange server</a>.</p>
<p>I run this report almost every day (we retain up to 30 days of message tracking logs so running every day is not required) to look for any patterns or trends that may concern us.</p>
<p>The report can be quickly generated using <a href="https://www.google.com.au/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CEUQFjAA&amp;url=http%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fen%2Fdetails.aspx%3Fid%3D24659&amp;ei=LmaNT_m6Ko-viQfL4eX1DA&amp;usg=AFQjCNHTO3l_25MD8EYjl0erwi398mSb8g">Log Parser</a>. Install it on the server and run the following query from the folder where the message tracking logs are stored.</p>
<pre>SELECT TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING([#Fields: date-time]),0,'T'), 'yyyy-MM-dd')) AS Date,
       COUNT(*) AS Hits
from *.log
where (event-id='RECEIVE')
GROUP BY Date
ORDER BY Date ASC</pre>
<p>As a single command line it will be as follows:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING([#Fields: date-time]),0,'T'), 'yyyy-MM-dd')) AS Date, COUNT(*) AS Hits from *.log where (event-id='RECEIVE') GROUP BY Date ORDER BY Date ASC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will give you output similar to this:</p>
<pre>Date       Hits
---------- ----
2012-03-17 5311
2012-03-18 2575
2012-03-19 6296
2012-03-23 283
2012-03-24 1
2012-03-25 1
2012-03-26 5
2012-03-27 1
2012-03-29 635
2012-03-30 255
2012-03-31 883
2012-04-01 856
2012-04-02 1051
2012-04-03 1178
2012-04-04 1145
2012-04-05 1138
2012-04-06 1203
2012-04-07 866
2012-04-08 1016
2012-04-09 1210
2012-04-10 1171
2012-04-11 833
2012-04-12 26
2012-04-14 21
2012-04-15 1

Statistics:
-----------
Elements processed: 106917
Elements output:    25
Execution time:     2.66 seconds</pre>
<p>Pretty useful on its own, but if you plan to create graphical reports using this data you can save yourself a bit of time and let Log Parser generate the chart for you, as long as you have Office or the Office Web Components installed on the computer running Log Parser.</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TO_LOCALTIME(TO_TIMESTAMP(EXTRACT_PREFIX(TO_STRING([#Fields: date-time]),0,'T'), 'yyyy-MM-dd')) AS Date, COUNT(*) AS [Daily Email Traffic] INTO DailyTraffic.gif from *.log where (event-id='RECEIVE') GROUP BY Date ORDER BY Date ASC" -i:CSV -nSkipLines:4 -chartType:Column3D</pre>
<p><img class="aligncenter size-full wp-image-4739" title="DailyTraffic" src="http://exchangeserverpro.com/wp-content/uploads/2012/04/DailyTraffic.gif" alt="" width="590" height="442" /></p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser" title="Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser">Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-log-parser" title="Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser">Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser</a></li><li><a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs" title="Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-powershell" title="Reporting Exchange Server 2010 Message Tracking Event IDs with PowerShell">Reporting Exchange Server 2010 Message Tracking Event IDs with PowerShell</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser">Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=GgKHlpc8hR0:iK0uEZZWICQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=GgKHlpc8hR0:iK0uEZZWICQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=GgKHlpc8hR0:iK0uEZZWICQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?i=GgKHlpc8hR0:iK0uEZZWICQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ExchangeServerPro?a=GgKHlpc8hR0:iK0uEZZWICQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ExchangeServerPro?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ExchangeServerPro/~4/GgKHlpc8hR0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser</feedburner:origLink></item>
	</channel>
</rss>

