<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx</link><description>ActiveSyncReport script 
 Download 
 
 
 The Exchange support team relatively frequently receives cases where mobile devices using Exchange ActiveSync (EAS) protocol send too many requests to Exchange server resulting in a situation where server runs</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3488650</link><pubDate>Mon, 26 Mar 2012 18:12:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3488650</guid><dc:creator>Konstantin Papadakis - MSFT</dc:creator><description>&lt;p&gt;@Frenchie: The best thing to do is to remove the partnership from the device thus stopping the device from attempting to sync at all. Now that is not the best thing for the end user. If possible identify what is wrong with the device (know build issue and upgrade, user workflow education, 3rd party installed on device that is causing the issue). Also in some organizations cannot afford to wait for a user to disable the device so there are ways with reverse proxy server/device (Ex. Threat Management Gateway) to block the User or User-Agent (if known bad device). This will allow the Exchange environment to be functional and give the admin time to work out the issues with the suspect device. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3488650" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3488205</link><pubDate>Thu, 22 Mar 2012 23:48:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3488205</guid><dc:creator>Frenchie</dc:creator><description>&lt;p&gt;I ran this in my organization, I have about 100 users that are well over 1k hits, some users had 40k, 50k, 100k, even 175 hits, all of these requests for &amp;#39;Sync&amp;#39; commands. How do we block this? the 175k was an iPad on the latest iOS 5 software..Some of these devices are essentially sending a &amp;#39;Sync&amp;#39; command every second if not 3 times every second. I don&amp;#39;t think throttling helps as this basically stops &amp;#39;concurrent&amp;#39; connections, however how do we stop devices so they only send &amp;#39;Sync&amp;#39; command or we only &amp;#39;accept&amp;#39; sync commands on particular intervals so they do not send 100k requests in 24 hours for example. This is killing CAS.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3488205" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3485932</link><pubDate>Sat, 10 Mar 2012 22:59:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3485932</guid><dc:creator>Vikas Sukhija</dc:creator><description>&lt;p&gt;This is fantastic, I have clubbed it with mine script to troubleshoot fast growing transactional logs&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://exchangedomino.wordpress.com/2012/03/10/troubleshooting-fast-growing-transactional-logs-part-2/"&gt;exchangedomino.wordpress.com/.../troubleshooting-fast-growing-transactional-logs-part-2&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3485932" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3484389</link><pubDate>Sat, 03 Mar 2012 07:49:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3484389</guid><dc:creator>House of brokers</dc:creator><description>&lt;p&gt;If the hits (requests) are above 1500, there could be an issue on the device or environment. In that case, the device &amp;amp; its user’s activity should be further investigated.&amp;quot; &amp;nbsp;This information is very important and useful which gives the idea about a typical user behavior and the user profile. &lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://markething.org/&amp;quot;&amp;gt;House"&gt;markething.org/&amp;quot;&amp;gt;House&lt;/a&gt; of brokers&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3484389" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3483237</link><pubDate>Sun, 26 Feb 2012 19:11:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3483237</guid><dc:creator>saadrooking</dc:creator><description>&lt;p&gt;Usually if a device is sending over 1000 requests per day, we consider this ‘high usage’. If the hits (requests) are above 1500, there could be an issue on the device or environment. In that case, the device &amp;amp; its user’s activity should be further investigated.&amp;quot; &amp;nbsp;This information is very important and useful which gives the idea about a typical user behavior and the user profile. &lt;/p&gt;
&lt;p&gt;口臭&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://mouthfresher.com/"&gt;http://mouthfresher.com/&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3483237" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3482743</link><pubDate>Thu, 23 Feb 2012 11:43:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3482743</guid><dc:creator>burnham boilers</dc:creator><description>&lt;p&gt;Turns out that he had a bad calendar entry that had generated over 11,000 meeting requests in 11 hours and his iPhone was attempting to sync over 18 times per minute to resolve this meeting request. &amp;nbsp;We turned off his calendar sync and the traffic died off immediately.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;bestburnhamboilers.net&amp;quot;&amp;gt;burnham boilers&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3482743" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3480146</link><pubDate>Fri, 10 Feb 2012 11:48:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3480146</guid><dc:creator>Benoit Boudeville</dc:creator><description>&lt;p&gt;Also line 698:&lt;/p&gt;
&lt;p&gt;Replace line:&lt;/p&gt;
&lt;p&gt;				Write-Host &amp;quot;Trying to find IIS logs from this date: $title&amp;quot;&lt;/p&gt;
&lt;p&gt;With:&lt;/p&gt;
&lt;p&gt;				Write-Host &amp;quot;Trying to find IIS logs from this date: $filterdate&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3480146" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3480141</link><pubDate>Fri, 10 Feb 2012 11:31:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3480141</guid><dc:creator>Benoit Boudeville</dc:creator><description>&lt;p&gt;Several bugs in the script:&lt;/p&gt;
&lt;p&gt;Line 721: replace with&lt;/p&gt;
&lt;p&gt;if ($IISLogs.Count -gt 1) { &lt;/p&gt;
&lt;p&gt;Also I suggest to delcare IISLogs with type [String[]] rather than [array] (line 48); this makes the script deal better with passed array of paths.&lt;/p&gt;
&lt;p&gt;In Create-HTML, around line 593-602 - the function works but this is somehow by chance :) :&lt;/p&gt;
&lt;p&gt;Replace&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;	$html = ConvertTo-HTML -Head $HTMLHeader -Body $body&lt;/p&gt;
&lt;p&gt;	$body = &amp;quot;&amp;lt;h2&amp;gt;&amp;lt;TT&amp;gt;Exchange ActiveSync Report on $title&amp;lt;TT&amp;gt;&amp;lt;/h2&amp;gt;&amp;lt;TT&amp;gt;For additional &amp;lt;b&amp;gt;unfiltered&amp;lt;/b&amp;gt; information on device hits please refer to the CSV $outfile&amp;lt;/TT&amp;gt;&amp;lt;BR /&amp;gt;&amp;lt;BR /&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;	if ($table.count -le 0) {&lt;/p&gt;
&lt;p&gt;		$body += &amp;quot;No Devices have excited the Minimum Number of Hits (&amp;lt;b&amp;gt;$MinimumHits&amp;lt;/b&amp;gt;)&amp;quot;&lt;/p&gt;
&lt;p&gt;	}&lt;/p&gt;
&lt;p&gt;	else { $body += ($table | Select $HTMLCSVHeaders.split(&amp;quot;,&amp;quot;) | ConvertTo-HTML -Fragment) }&lt;/p&gt;
&lt;p&gt;	$body += &amp;quot;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;	return ($HTMLHeader += $body) &lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;	$body = &amp;quot;&amp;lt;h2&amp;gt;&amp;lt;TT&amp;gt;Exchange ActiveSync Report on $title&amp;lt;TT&amp;gt;&amp;lt;/h2&amp;gt;&amp;lt;TT&amp;gt;For additional &amp;lt;b&amp;gt;unfiltered&amp;lt;/b&amp;gt; information on device hits please refer to the CSV $outfile&amp;lt;/TT&amp;gt;&amp;lt;BR /&amp;gt;&amp;lt;BR /&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;	if ($table.count -le 0) {&lt;/p&gt;
&lt;p&gt;		$body += &amp;quot;No Devices have excited the Minimum Number of Hits (&amp;lt;b&amp;gt;$MinimumHits&amp;lt;/b&amp;gt;)&amp;quot;&lt;/p&gt;
&lt;p&gt;	}&lt;/p&gt;
&lt;p&gt;	else { $body += ($table | Select $HTMLCSVHeaders.split(&amp;quot;,&amp;quot;) | ConvertTo-HTML -Fragment) }&lt;/p&gt;
&lt;p&gt;	$body += &amp;quot;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;	ConvertTo-HTML -Head $HTMLHeader -Body $body&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3480141" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3479969</link><pubDate>Thu, 09 Feb 2012 16:55:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3479969</guid><dc:creator>Tunisian man</dc:creator><description>&lt;p&gt;good job, Thank you &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3479969" width="1" height="1"&gt;</description></item><item><title>re: A script to troubleshoot issues with Exchange ActiveSync</title><link>http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx#3479608</link><pubDate>Wed, 08 Feb 2012 15:12:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3479608</guid><dc:creator>dontcallmevic</dc:creator><description>&lt;p&gt;@Brian: &amp;nbsp;Thanks for the date parameters -- it works perfectly! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;This script was a lifesaver for our Exchange server last week when I found the post. &amp;nbsp;Log files were being generated like crazy, filling up the volume and threatening to crash the server. &amp;nbsp;I could use ExMon to see which user was generating the logs but without your script I didn&amp;#39;t know why. &amp;nbsp;Turns out that he had a bad calendar entry that had generated over 11,000 meeting requests in 11 hours and his iPhone was attempting to sync over 18 times per minute to resolve this meeting request. &amp;nbsp;We turned off his calendar sync and the traffic died off immediately.&lt;/p&gt;
&lt;p&gt;Again, thanks for the info!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3479608" width="1" height="1"&gt;</description></item></channel></rss>