<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Build Your Business on a Solid Infrastructure</title>
	<atom:link href="http://infrastructurehelp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://infrastructurehelp.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 18:05:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='infrastructurehelp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Build Your Business on a Solid Infrastructure</title>
		<link>http://infrastructurehelp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://infrastructurehelp.wordpress.com/osd.xml" title="Build Your Business on a Solid Infrastructure" />
	<atom:link rel='hub' href='http://infrastructurehelp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Firewall Testing for Lync Server</title>
		<link>http://infrastructurehelp.wordpress.com/2013/04/25/firewall-testing-for-lync-server/</link>
		<comments>http://infrastructurehelp.wordpress.com/2013/04/25/firewall-testing-for-lync-server/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 04:11:01 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Lync]]></category>

		<guid isPermaLink="false">https://infrastructurehelp.wordpress.com/?p=458</guid>
		<description><![CDATA[I had a recent fun time arguing with the firewall guys that they were not properly opening the ports that I had requested and that I really needed it done right. Finally, I decided that I just needed to do &#8230; <a href="http://infrastructurehelp.wordpress.com/2013/04/25/firewall-testing-for-lync-server/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=458&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I had a recent fun time arguing with the firewall guys that they were not properly opening the ports that I had requested and that I really needed it done right.</p>
<p>Finally, I decided that I just needed to do the scans myself and give them a quick report of what was responding properly and what was not.</p>
<ol>
<li>Download the portqry.exe and copy it to each server.</li>
<li>Put together a list of the Lync servers in a file named LyncServers.txt that contains the server names.</li>
<li>Put together a list of the ports and protocols for the ports in a file named LyncServerPortNumbers.txt.</li>
<li>Write a quick script to run on each server.</li>
</ol>
<p>After that, it is just a matter of running the script on each server and collecting the data. Of course, the best feeling was sending the list of results with a <strong>From ServerX</strong> test for each server to the firewall team so they could see what they missed.</p>
<p>Here is a link to the files: <a href="http://infrastructurehelp.com/test-lyncports.zip" target="_blank">Test-LyncPorts.zip</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=458&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2013/04/25/firewall-testing-for-lync-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Video Device Missing from Lync 2010 Options</title>
		<link>http://infrastructurehelp.wordpress.com/2013/04/23/video-device-missing-from-lync-2010-options/</link>
		<comments>http://infrastructurehelp.wordpress.com/2013/04/23/video-device-missing-from-lync-2010-options/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 00:20:59 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Lync]]></category>

		<guid isPermaLink="false">https://infrastructurehelp.wordpress.com/?p=454</guid>
		<description><![CDATA[This was an interesting scenario. Users have had audio/video in Office Communications Server 2007 R2. 1. Moved user from OCS 2007 R2 pool to a Lync 2010 pool. If they continued to use Communicator 2007 R2, their audio and video &#8230; <a href="http://infrastructurehelp.wordpress.com/2013/04/23/video-device-missing-from-lync-2010-options/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=454&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This was an interesting scenario. Users have had audio/video in Office Communications Server 2007 R2.</p>
<p>1. Moved user from OCS 2007 R2 pool to a Lync 2010 pool. If they continued to use Communicator 2007 R2, their audio and video devices worked fine.</p>
<p>2. Upgraded user from Communicator 2007 R2 to Lync 2010 client.</p>
<p>After upgrading the client, users complained that they Video option was not available and they could not make video calls. When you go into the Lync Options, there is no choice for Video Device like their should be. The video device is still working in other applications, though.</p>
<p>The really odd thing about this was that if you opened up the Lync Options before the users signed in, you can easily see the Video Device option and set it. Once the user signed in, though, it would disappear.</p>
<p>I was confused as to why video worked when still using the Communicator client, but stopped when their client was upgraded. I took a wild guess and tried these two steps:</p>
<ol>
<li>Set-ConferencingPolicy –AllowIPVideo $True –AllowIPVideo $True –EnableP2PVideo $True</li>
<li>Exited and restarted the Lync 2010 client</li>
</ol>
<p>Ta Da! It works again.</p>
<p>As a side note, it may not require completely exiting the Lync 2010 client. Signing off and signing back in again may be enough.</p>
<p>Part 2 – We found some more unusual behavior in the build numbers.</p>
<ul>
<li>4.0.75577.0 worked fine on most of the Windows 8 client computers</li>
<li>4.0.75577.0 did not work on most of the Windows 7 client computers</li>
<li>Adding the April 2013 rollup seems to have fixed the issues we were seeing with the Windows 7 clients, though.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=454&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2013/04/23/video-device-missing-from-lync-2010-options/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Identify Group Chat Users</title>
		<link>http://infrastructurehelp.wordpress.com/2012/11/02/identify-group-chat-users/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/11/02/identify-group-chat-users/#comments</comments>
		<pubDate>Sat, 03 Nov 2012 04:54:53 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Office Communications Server]]></category>

		<guid isPermaLink="false">http://infrastructurehelp.wordpress.com/?p=450</guid>
		<description><![CDATA[It can be a pain to identify which users have been enabled for Group Chat rooms as there is no attribute in Active Directory that relates to Group Chat. Now, I suppose you could just go and visit each room &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/11/02/identify-group-chat-users/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=450&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It can be a pain to identify which users have been enabled for Group Chat rooms as there is no attribute in Active Directory that relates to Group Chat.</p>
<p>Now, I suppose you could just go and visit each room configurati0n, and see what security groups have been set up for the room permissions and then translate those security groups to individual accounts.</p>
<p>Or, you could just run a query against the Group Chat database:</p>
<blockquote><p><font color="#ff0000">SELECT *<br />&nbsp; FROM [tblPrincipal]<br />&nbsp; WHERE prinTypeID = 5 AND prinDisabled = 0</font></p>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/450/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/450/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=450&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/11/02/identify-group-chat-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Identifying Bad/Corrupt Calendar Items</title>
		<link>http://infrastructurehelp.wordpress.com/2012/10/20/identifying-badcorrupt-calendar-items/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/10/20/identifying-badcorrupt-calendar-items/#comments</comments>
		<pubDate>Sat, 20 Oct 2012 22:32:10 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">https://infrastructurehelp.wordpress.com/?p=448</guid>
		<description><![CDATA[I have been seeing more and more issues with bad calendar items causing out of control mailbox database and transaction log growth. What I seen as a good process for attacking these issues is to use the following: Exchange User &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/10/20/identifying-badcorrupt-calendar-items/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=448&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have been seeing more and more issues with bad calendar items causing out of control mailbox database and transaction log growth. What I seen as a good process for attacking these issues is to use the following:</p>
<ul>
<li>Exchange User Monitor (ExMon) which will identify the mailbox that is causing the problem. You will see a single mailbox or just a couple that consumes a huge percentage of resources.</li>
<li>Calendar Check (CalCheck) can then be used against the mailboxes to identify calendar items that have been modified way too many times and have become extremely large. It is usually one or more of these items that have become corrupted and are causing this issue.</li>
<li>Scot O, one of my favorite bloggers, also has a great blog to help identify issues by viewing the transaction logs and using strings.exe to identify repeating patterns which usually indicate a problem. <a href="http://blogs.msdn.com/b/scottos/archive/2007/07/12/rough-and-tough-guide-to-identifying-patterns-in-ese-transaction-log-files.aspx">http://blogs.msdn.com/b/scottos/archive/2007/07/12/rough-and-tough-guide-to-identifying-patterns-in-ese-transaction-log-files.aspx</a></li>
</ul>
<p>Recently, I have been trying to find a more proactive measure to identify these calendar items that tend to break when users just refuse to follow best practices.</p>
<p>I have combined PowerShell and CalCheck to look for bad items. Here is my latest version of the script. Please keep in mind that the formatting of this blog does not always work perfectly for scripts, and many of the lines that appear here are really a single line. You can download the <a href="http://www.infrastructurehelp.com/get-badcalitems.zip" target="_blank">latest version of this script here</a>.</p>
<blockquote><p><span style="color:#0000ff;"># This script is broken into three steps. In the first step, we identify users </span><span style="color:#0000ff;">that have large calendar folders # In this step, we use get the databases first to try to minimize the memory requirements of processing all mailboxes # as PowerShell fails when you start getting into the tens of thousands of mailboxes.</span></p>
<p><span style="color:#0000ff;">$Date = Get-Date </span></p>
<p><span style="color:#0000ff;">Write-Host Start processing script at $Date # I always to keep track of how much time scripts take</span></p>
<p><span style="color:#0000ff;">$mbdb = Get-MailboxDatabase | Where {$_.name -ilike &#8216;*vpc*&#8217;} Write-Host $Null | Out-File List.txt foreach ($db in $mbdb){</span></p>
<p><span style="color:#0000ff;">Write-Host Processing $db</span></p>
<p><span style="color:#0000ff;">$Mailboxes = Get-Mailbox -database $db</span></p>
<p><span style="color:#0000ff;">foreach ($i in $Mailboxes){</span></p>
<p><span style="color:#0000ff;">$CalendarSize = (Get-Mailbox $i | Get-MailboxFolderStatistics -folderscope &#8216;calendar&#8217;).FolderandSubFolderSize</span></p>
<p><span style="color:#0000ff;"># Write-Host $i &#8211; Calendar size is $CalendarSize</span></p>
<p><span style="color:#0000ff;">$CalSplit = $CalendarSize -split &#8216; &#8216;</span></p>
<p><span style="color:#0000ff;">$CalSize = $CalSplit[2]</span></p>
<p><span style="color:#0000ff;">$CalSize = $CalSize -replace &#8220;\(|\)|,| bytes&#8221;</span></p>
<p><span style="color:#0000ff;">$CalSize = [int]$CalSize</span></p>
<p><span style="color:#0000ff;">if ($CalSize -gt 100000000){</span></p>
<p><span style="color:#0000ff;">Get-Mailbox $i | Select Name,LegacyExchangeDN | FL | Out-File -append list.txt</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">$Date = Get-Date</span></p>
<p><span style="color:#0000ff;">Write-Host Completed identification of mailboxes that have large calendar folders at $Date</span></p>
<p><span style="color:#0000ff;"># In this step, we simply run CalCheck against all of the mailboxes that have calendar folders over 100MB as found in the first step. This requires version 2.0 or higher which supports the -l and –a arguments.</span></p>
<p><span style="color:#0000ff;"># It is vital that the account running this script have proper access to the individual mailboxes to scan them.</span></p>
<p><span style="color:#0000ff;"># The output will be a large number of log and csv files. I use the csv files for simpler processing.</span></p>
<p><span style="color:#0000ff;"># Note: Currently, CalCheck is not able to process more than around 100 mailboxes at a time. YMMV. You should also note that I pause the PowerShell script so that CalCheck can run.</span></p>
<p><span style="color:#0000ff;">Start-Process -FilePath c:\calcheck\calcheck.exe -ArgumentList &#8220;-a -l list.txt&#8221;</span></p>
<p><span style="color:#0000ff;">Write-Host &#8220;Once CalCheck has finished running, press any key to continue &#8230;&#8221;</span></p>
<p><span style="color:#0000ff;">$x = $host.UI.RawUI.ReadKey(&#8220;NoEcho,IncludeKeyDown&#8221;)</span></p>
<p><span style="color:#0000ff;">$Date = Get-Date</span></p>
<p><span style="color:#0000ff;">Write-Host Completed running CalCheck against mailboxes that have large calendar folders at $Date</span></p>
<p><span style="color:#0000ff;"># In this step, we create an output file for our results.</span></p>
<p><span style="color:#0000ff;">Write-Host $Null | Out-File Results.csv</span></p>
<p><span style="color:#0000ff;">$Header = &#8220;Subject,Organizer,Email,Modifications,Size&#8221;</span></p>
<p><span style="color:#0000ff;">$Header | Out-File Results.csv</span></p>
<p><span style="color:#0000ff;">$UserFiles = Dir C:\calcheck\calcheck_*.csv</span></p>
<p><span style="color:#0000ff;">foreach ($File in $UserFiles){</span></p>
<p><span style="color:#0000ff;">Write-Host &#8221; &#8220;</span></p>
<p><span style="color:#0000ff;">Write-Host PROCESSING $file</span></p>
<p><span style="color:#0000ff;">Write-Host &#8221; &#8220;</span></p>
<p><span style="color:#0000ff;">Copy $File CalItems.csv</span></p>
<p><span style="color:#0000ff;">(Get-Content calitems.csv) | where {$_ -notmatch &#8216;Processing*&#8217;} | Set-Content calitems.csv</span></p>
<p><span style="color:#0000ff;">$CalItems = Import-CSV calitems.csv</span></p>
<p><span style="color:#0000ff;">foreach ($item in $CalItems){</span></p>
<p><span style="color:#0000ff;">$Subject = $Item.Subject</span></p>
<p><span style="color:#0000ff;">$Size = $Item.Size</span></p>
<p><span style="color:#0000ff;">#This section is used to identify the organizer of the meeting and to put their info into first name, middle initial, last name format and also the same for their email address which I can use in other scripts to send automated email if I want. Your email address format may differ.</span></p>
<p><span style="color:#0000ff;">$Organizer = $Item.&#8221;Organizer Name&#8221;</span></p>
<p><span style="color:#0000ff;">$Organizer = $Organizer -split &#8220;_ &#8220;</span></p>
<p><span style="color:#0000ff;">$OrganizerFN = $Organizer[1]</span></p>
<p><span style="color:#0000ff;">$OrganizerLN = $Organizer[0]</span></p>
<p><span style="color:#0000ff;">$OrganizerFN1 = $OrganizerFN -split &#8221; &#8220;</span></p>
<p><span style="color:#0000ff;">$OrganizerFN2 = $OrganizerFN1[0]</span></p>
<p><span style="color:#0000ff;">$OrganizerMI = $OrganizerFN1[1]</span></p>
<p><span style="color:#0000ff;">$Organizer = $OrganizerFN + &#8221; &#8221; + $OrganizerLN</span></p>
<p><span style="color:#0000ff;">if ($OrganizerMI){</span></p>
<p><span style="color:#0000ff;">$Email = $OrganizerFN2 + &#8220;.&#8221; + $OrganizerMI + &#8220;.&#8221; + $OrganizerLN + &#8220;@company.com&#8221;</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">if (!$OrganizerMI){</span></p>
<p><span style="color:#0000ff;">$Email = $OrganizerFN2 + &#8220;.&#8221; + $OrganizerLN + &#8220;@company.com&#8221;</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">if ($Modified = !$Null){</span></p>
<p><span style="color:#0000ff;">[int]$Modified = $Item.&#8221;Modified Instances&#8221;</span></p>
<p><span style="color:#0000ff;">if($Modified -ge &#8220;20&#8243;){</span></p>
<p><span style="color:#0000ff;">$Result = &#8220;$Subject,$Organizer,$Email,$Modified,$Size&#8221;</span></p>
<p><span style="color:#0000ff;">Write-Host $Result</span></p>
<p><span style="color:#0000ff;">$Result | Out-File -append Results.csv</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">Del CalItems.csv</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">$Date = Get-Date</span></p>
<p><span style="color:#0000ff;">Write-Host Completed script at $Date</span></p></blockquote>
<p>What you will end up with is a csv file named results.csv that can then be loaded into Excel and sorted as needed to identify the items that may be causing the most pain.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/448/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=448&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/10/20/identifying-badcorrupt-calendar-items/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Insufficient Access Rights to Perform the Operation &#8211; Lync Server 2010</title>
		<link>http://infrastructurehelp.wordpress.com/2012/09/17/insufficient-access-rights-to-perform-the-operation-lync-server-2010/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/09/17/insufficient-access-rights-to-perform-the-operation-lync-server-2010/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 03:26:12 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Lync]]></category>

		<guid isPermaLink="false">http://infrastructurehelp.wordpress.com/?p=446</guid>
		<description><![CDATA[Actually, I have seen this issue with both Exchange Server 2010 and trying to mailbox enable a user account and in Lync Server 2010 and trying to enable a user for Lync. In both cases, the error says you don’t &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/09/17/insufficient-access-rights-to-perform-the-operation-lync-server-2010/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=446&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Actually, I have seen this issue with both Exchange Server 2010 and trying to mailbox enable a user account and in Lync Server 2010 and trying to enable a user for Lync. In both cases, the error says you don’t have the proper access rights. It really isn’t so much an issue about your account having the proper rights to enable the Lync user, it is more about the object that you are trying to enable being a member of an Active Directory protected group.&nbsp;
<p>It really is a simple fix: </p>
<ol>
<li>Open up Active Directory Users and Computers and select the user account.
<li>Select the Security tab
<li>Click advanced
<li>Select &#8220;Include inheritable permissions from this object&#8217;s parent&#8221;
<li>Click Apply</li>
</ol>
<p>It should work now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/446/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=446&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/09/17/insufficient-access-rights-to-perform-the-operation-lync-server-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Error with your new mobile phone partnership&#8211;Exchange Server 2010</title>
		<link>http://infrastructurehelp.wordpress.com/2012/08/16/error-with-your-new-mobile-phone-partnership/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/08/16/error-with-your-new-mobile-phone-partnership/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 22:49:54 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">https://infrastructurehelp.wordpress.com/?p=443</guid>
		<description><![CDATA[This was definitely a first for me. Hmmm, who knew that ten phones was too many? From: Microsoft Outlook Sent: Thursday, August 16, 2012 4:28 PM To: Kaufmann, Russ Subject: Error with your new mobile phone partnership Importance: High You &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/08/16/error-with-your-new-mobile-phone-partnership/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=443&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This was definitely a first for me.</p>
<p>Hmmm, who knew that ten phones was too many?</p>
<blockquote><p><b>From:</b> Microsoft Outlook<br />
<b>Sent:</b> Thursday, August 16, 2012 4:28 PM<br />
<b>To:</b> Kaufmann, Russ<br />
<b>Subject:</b> Error with your new mobile phone partnership<br />
<b>Importance:</b> High</p>
<p>You have 10 phone partnerships out of the maximum allowed 10 partnerships. After you reach the maximum, you can&#8217;t create additional partnerships until you delete existing ones from your account. To do so, sign in to Outlook Web App, click Options &gt; Phone &gt; Mobile Phones, and delete any unused partnerships.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/443/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=443&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/08/16/error-with-your-new-mobile-phone-partnership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Group Chat File Transfer Error</title>
		<link>http://infrastructurehelp.wordpress.com/2012/08/03/group-chat-file-transfer-error/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/08/03/group-chat-file-transfer-error/#comments</comments>
		<pubDate>Sat, 04 Aug 2012 04:33:24 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Lync]]></category>
		<category><![CDATA[Office Communications Server]]></category>

		<guid isPermaLink="false">http://infrastructurehelp.wordpress.com/?p=423</guid>
		<description><![CDATA[This is another situation impacted by certificates, and is often seen after the certificate has been changed or replaced on a Group Chat server because it expired or is about to expire. Basically, when somebody tries to send a file, &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/08/03/group-chat-file-transfer-error/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=423&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is another situation impacted by certificates, and is often seen after the certificate has been changed or replaced on a Group Chat server because it expired or is about to expire.
<p>Basically, when somebody tries to send a file, the file transfer will fail with a message that includes the following:<br />
<blockquote>
<p><font color="#ff0000">Could not establish trust relationship for the SSL/TLS secure channel.</font></p>
</blockquote>
<p>There are two places where a certificate needs to be configured in Group Chat. First, the <b>Group Chat Server Configuration</b> tool, and second, the certificate needs to be updated in IIS. In this case, though, the cause of the issue is the certificate in IIS. If the certificate was expired in the Group Chat Server Configuration, then users would not be able to access Group Chat at all.
<p>The easiest way to test if the certificate is misconfigured in IIS is to use the GCWebService.asmx page to test it. You can find the URL for this page pretty easily by using the Group Chat Server Configuration tool. Once in the tool, click on the System Wide icon on the left pane, and then click on the <b>File Repository</b> tab.
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image0021.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:left;border-top:0;border-right:0;padding-top:0;" title="clip_image002" border="0" hspace="12" alt="clip_image002" align="left" src="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image002_thumb1.jpg?w=369&#038;h=290" width="369" height="290"></a>Here, you will see the URL. Copy it and past it into a Web browser and see if you get a certificate error or warning. The certificate warning is the behavior you can expect for a certificate misconfiguration in IIS. Thankfully, it is very easy to fix.
<p>Setting the Certificate in IIS is not very difficult at all. All you need to do is follow the basic steps here:
<p>1. Open Internet Information Services (IIS) Manager
<p>2. Expand the server name node
<p>3. Expand the Sites node
<p>4. Click on the Default Web Site node
<p>5. Click on the Bindings link in the Actions pane
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image0031.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:left;border-top:0;border-right:0;padding-top:0;" title="clip_image003" border="0" hspace="12" alt="clip_image003" align="left" src="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image003_thumb1.png?w=316&#038;h=131" width="316" height="131"></a>6. Select https and click Edit
<p>7. Use the <b>SSL certificate</b> drop down box and select the proper certificate, click OK and close any other open windows.
<p>8. Restart the Default Web Site and it should be fine.
<p>Try your Web browser again, and you should see results similar to this page (with more links in it).
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image0051.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:left;border-top:0;border-right:0;padding-top:0;" title="clip_image005" border="0" alt="clip_image005" align="left" src="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image005_thumb1.jpg?w=388&#038;h=209" width="388" height="209"></a>
<p>At this point, file transfers will again work in Group Chat.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=423&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/08/03/group-chat-file-transfer-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image002_thumb1.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image003_thumb1.png" medium="image">
			<media:title type="html">clip_image003</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/08/clip_image005_thumb1.jpg" medium="image">
			<media:title type="html">clip_image005</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating Office Communications Server 2007 Certificates&#8211;Alternate Method</title>
		<link>http://infrastructurehelp.wordpress.com/2012/07/30/updating-office-communications-server-2007-certificatesalternate-method/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/07/30/updating-office-communications-server-2007-certificatesalternate-method/#comments</comments>
		<pubDate>Tue, 31 Jul 2012 00:45:18 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Office Communications Server]]></category>

		<guid isPermaLink="false">http://infrastructurehelp.wordpress.com/?p=404</guid>
		<description><![CDATA[There are several nice blogs out there on renewing certificates and even replacing certificates. In my most recent case, I had to replace certificates using another method because the issuing CA was being retired and a new issuing CA was &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/07/30/updating-office-communications-server-2007-certificatesalternate-method/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=404&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There are several nice blogs out there on renewing certificates and even replacing certificates. In my most recent case, I had to replace certificates using another method because the issuing CA was being retired and a new issuing CA was being deployed. Renewal wasn’t an option.</p>
<p>In my case, the new CA is locked down pretty tight with ACLs on the templates, and I am not able to easily request a new certificate.</p>
<h3><span style="color:#0000ff;">Use the CA Web Site</span></h3>
<p>What I ended up doing to get the certificates was to use the IIS site, <a href="https://NewCaName.CompanyName.com/certsrv">https://NewCaName.CompanyName.com/certsrv</a>.</p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image0011.png"><img style="background-image:none;margin:0 10px 0 0;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border:0;" title="clip_image001" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image001_thumb1.png?w=415&#038;h=218" alt="clip_image001" width="415" height="218" align="left" border="0" /></a></p>
<p>Click on the <strong>Request a certificate</strong>link.</p>
<p>On the next screen, you have a couple of options.</p>
<p>Normally, I would then use the <strong>Submit a certificate by using a base-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file</strong>. This method is used to submit the CSR that you previously generated. Well, I had issues making this work and the resulting certificate providing the private key when I would then import it back into OCS, so I went the other route. I still have no idea why it wouldn’t provide me the private key.</p>
<p>In this case, I used the <strong>Create and submit a request to this CA</strong>.</p>
<p>You may get a pop-up that is titled <strong>Web Access Confirmation</strong> and has the content <strong>This Web site is attempting to perform a digital certificate operation on your behalf: </strong><a href="https://NewCaName.CompanyName.com/certsrv/certrqma.asp"><strong>https://NewCaName.CompanyName.com/certsrv/certrqma.asp</strong></a>. Just click <strong>Yes</strong>if you get this message.</p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image002.png"><img style="background-image:none;margin:0 10px 0 0;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border:0;" title="clip_image002" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image002_thumb.png?w=300&#038;h=435" alt="clip_image002" width="300" height="435" align="left" border="0" /></a>Select the Certificate Template. I used <strong>Web Server SSL 2 (Server and Client EKU)</strong> for my template. You don’t need this particular template, but I use it all the time because it works for pretty much any need. For the <strong>Name</strong> field, I use the actual SN for the certificate, and I also use the SN for the <strong>Friendly Name</strong> field. The key is the <strong>Attributes</strong> field which we use to add the SAN entries. The entry is all on one line and you just copy your information into the <strong>Attributes</strong> field.</p>
<blockquote><p><span style="color:#ff0000;">SAN:dns=ocspool.companyname.com&amp;dns=fe1.companyname.com</span></p>
<p><span style="color:#ff0000;">&amp;dns=fe2.companyname.com&amp;dns=fe3.companyname.com</span></p></blockquote>
<p>Make sure the SAN line above is all on one line. I put in a line break for visibility. You should get something that looks like the image to the left, except with your information in it. You do not need the other fields.</p>
<p>This method is a little different than your typical method of generating a CSR and then submitting the CSR to get your certificate. Everything is done pretty much at once and you end up with a certificate that you can export and then import to your OCS servers.</p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image0041.jpg"><img style="background-image:none;margin:0 10px 0 0;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border:0;" title="clip_image004" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image004_thumb1.jpg?w=244&#038;h=129" alt="clip_image004" width="244" height="129" align="left" border="0" /></a>When the CA responds with the certificate, you will get a link to <strong>Install this certificate</strong>.</p>
<p>When you install the certificate, it will install it on the computer where you ran the Web browser to connect to the CA. You will need to export the certificate. Make sure you select the <strong>Yes, export the private key</strong> radio button, and I recommend you also enable the <strong>Include all certificates in the certification path if possible option</strong>. to export the certificate to a pfx file. This pfx file can be imported on your OCS front end servers. You can use the same process for your other certificates for your Edge servers as well as other roles.</p>
<h3><span style="color:#0000ff;">Applying the Cert</span></h3>
<p>On the Front-End servers, open the Office Communications Server 2007 R2 console and expand the Forest, the Enterprise pools, the pool, and then select the Front-End server. Off to the far right, you should see a link for the <strong>Certificates</strong> wizard. You need to run the Office Communications Server 2007 R2 console on each server and select the server you are on at the time in order to access the <strong>Certificates</strong>wizard.</p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image0061.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="clip_image006" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image006_thumb1.jpg?w=244&#038;h=135" alt="clip_image006" width="244" height="135" border="0" /></a></p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image0081.jpg"><img style="background-image:none;margin:0 10px 0 0;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border:0;" title="clip_image008" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image008_thumb1.jpg?w=244&#038;h=215" alt="clip_image008" width="244" height="215" align="left" border="0" /></a>From here, it is a simple matter of using the wizard to Import a certificate from a .pfx file.</p>
<p>Of course, you can also use the Certificates MMC to import the certificate instead of using the wizard. Once you have imported the certificate and verified the chain, you are ready to assign the certificate.</p>
<p>Once the certificate is imported, you can then use the <strong>Certificates</strong> wizard and select the <strong>Assign an existing certificate</strong>option.</p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image010.jpg"><img style="background-image:none;margin:0;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="clip_image010" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image010_thumb.jpg?w=244&#038;h=216" alt="clip_image010" width="244" height="216" border="0" /></a></p>
<p>I strongly suggest restarting the server, but the restart of the services is usually sufficient.</p>
<h3><span style="color:#0000ff;">Don’t Forget the Web Services!</span></h3>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image012.jpg"><img style="background-image:none;margin:0 10px 0 0;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border:0;" title="clip_image012" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image012_thumb.jpg?w=244&#038;h=135" alt="clip_image012" width="244" height="135" align="left" border="0" /></a>I forget the Web Services every now and then, and most of the Web sites that talk about renewing or replacing the certificates on an OCS server tend to forget this step, too. If you forget this step, you can expect to have issues with your Address Book service as well as some other odd issues.</p>
<p><a href="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image014.jpg"><img style="background-image:none;margin:0 10px 0 0;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border:0;" title="clip_image014" src="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image014_thumb.jpg?w=244&#038;h=133" alt="clip_image014" width="244" height="133" align="left" border="0" /></a>Use the dropdown box and select the same certificate that you used for the OCS pool. It has to use the same certificate that your front-end services use or you will have issues.</p>
<p>Once you have updated the certificate, make sure you restart the Default Web Site in the IIS Manager.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=404&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/07/30/updating-office-communications-server-2007-certificatesalternate-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image001_thumb1.png" medium="image">
			<media:title type="html">clip_image001</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image002_thumb.png" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image004_thumb1.jpg" medium="image">
			<media:title type="html">clip_image004</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image006_thumb1.jpg" medium="image">
			<media:title type="html">clip_image006</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image008_thumb1.jpg" medium="image">
			<media:title type="html">clip_image008</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image010_thumb.jpg" medium="image">
			<media:title type="html">clip_image010</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image012_thumb.jpg" medium="image">
			<media:title type="html">clip_image012</media:title>
		</media:content>

		<media:content url="http://infrastructurehelp.files.wordpress.com/2012/07/clip_image014_thumb.jpg" medium="image">
			<media:title type="html">clip_image014</media:title>
		</media:content>
	</item>
		<item>
		<title>Identifying Large Calendar Items for Multiple Users</title>
		<link>http://infrastructurehelp.wordpress.com/2012/07/18/identifying-large-calendar-items-for-multiple-users/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/07/18/identifying-large-calendar-items-for-multiple-users/#comments</comments>
		<pubDate>Thu, 19 Jul 2012 03:27:22 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://infrastructurehelp.wordpress.com/?p=381</guid>
		<description><![CDATA[Another interesting and fun scenario. In my last post, I discussed using PowerShell to find large calendar items. Well, it didn’t go as well as I thought. I was trying to identify the largest calendar item for users. The idea &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/07/18/identifying-large-calendar-items-for-multiple-users/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=381&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Another interesting and fun scenario. In my last post, I discussed using PowerShell to find large calendar items. Well, it didn’t go as well as I thought.
<p>I was trying to identify the largest calendar item for users. The idea was to find these large calendar items so that junior admins can work with the users to see if the calendar items are large because they have been updated too often. Originally, I was trying to identify all users that have items over 50MB in size. Well, after seeing the output, I couldn’t understand why it wasn’t working as expected. Here is what I ran:<br />
<blockquote>
<p><font color="#0000ff" size="1" face="Courier New">Get-Mailbox –ResultSize Unlimited | Get-MailboxFolderStatistics -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 50000000} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font></p>
</blockquote>
<p>Well, let’s just say that I got all sorts of odd results. What I wanted was the largest Calendar item from each mailbox if it was 50 MB or larger.
<p>To set the scene. I will used two mailboxes, mine and Jack B. Nimble’s (his name has been changed to protect his innocence). My TopSubjectSize for a calendar object is approx 2.7 MB. Jack’s is approx 880KB. So I start off just to show what the largest item is for each of us with these two commands and the results of the command:<br />
<blockquote>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics russell.kaufmann -FolderScope Calendar -IncludeAnalysis | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New"><u>TopSubjectFrom</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>Identity</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubject</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubjectSize</u></font>
<p><font color="#0000ff" size="1" face="Courier New">Poppins, Mary&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; russell.kaufmann&nbsp;&nbsp;&nbsp; Dancing in the S&#8230; 2.707 MB (2,838,&#8230;</font>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics jack.b.nimble -FolderScope Calendar -IncludeAnalysis | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New"><u>TopSubjectFrom</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>Identity</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubject</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubjectSize</u></font>
<p><font color="#0000ff" size="1" face="Courier New">Goose, Mother&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jack.B.Nimble&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Partying All Nig&#8230; 884.5 KB (905,68&#8230;</font></p>
</blockquote>
<p>So, if I use the <strong>Where</strong> filter and try to filter out for anything over 800KB,&nbsp; I get the following:<br />
<blockquote>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics russell.kaufmann -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 800000} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics jack.b.nimble -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 800000} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New"><u>TopSubjectFrom</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>Identity</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubject</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubjectSize</u></font>
<p><font color="#0000ff" size="1" face="Courier New">Goose, Mother&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jack.B.Nimble&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Partying All Nig&#8230; 884.5 KB (905,68&#8230;</font></p>
</blockquote>
<p>Notice, for mine, it didn’t properly identify the item, but it did for Jack’s. Isn’t 2.707 MB greater than 800KB? Shouldn’t I have seen my top subject size?
<p>Now for some fun. If I filter based on –gt 2, here is what I get:<br />
<blockquote>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics russell.kaufmann -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 2} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New"><u>TopSubjectFrom</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>Identity</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubject</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubjectSize</u></font>
<p><font color="#0000ff" size="1" face="Courier New">Poppins, Mary&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; russell.kaufmann&nbsp;&nbsp;&nbsp; Dancing in the S&#8230; 2.707 MB (2,838,&#8230;</font>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics jack.b.nimble -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 2} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New"><u>TopSubjectFrom</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>Identity</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubject</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubjectSize</u></font>
<p><font color="#0000ff" size="1" face="Courier New">Goose, Mother&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jack.B.Nimble&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Partying All Nig&#8230; 884.5 KB (905,68&#8230;</font></p>
</blockquote>
<p>So, 2.707MB is greater than 2, and 884.5KB is greater than 2. They both worked.
<p>What about if I use 3 instead? Great question, so here is what I get:<br />
<blockquote>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics russell.kaufmann -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 3} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New">Get-MailboxFolderStatistics jack.b.nimble -FolderScope Calendar -IncludeAnalysis | where {$_.TopSubjectSize -gt 3} | Select TopSubjectFrom,Identity,TopSubject,TopSubjectSize</font>
<p><font color="#0000ff" size="1" face="Courier New"><u>TopSubjectFrom</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>Identity</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubject</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <u>TopSubjectSize</u></font>
<p><font color="#0000ff" size="1" face="Courier New">Goose, Mother&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jack.B.Nimble&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Partying All Nig&#8230; 884.5 KB (905,68&#8230;</font></p>
</blockquote>
<p>2.707MB is not greater than 3, so I don’t get a result for mine, but Jack’s 884.5 KB is greater than 3.
<p>Come on, you have to admit that this is funny stuff. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=381&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/07/18/identifying-large-calendar-items-for-multiple-users/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
		<item>
		<title>Identifying Large Calendar Items</title>
		<link>http://infrastructurehelp.wordpress.com/2012/07/14/identifying-large-calendar-items/</link>
		<comments>http://infrastructurehelp.wordpress.com/2012/07/14/identifying-large-calendar-items/#comments</comments>
		<pubDate>Sun, 15 Jul 2012 03:53:04 +0000</pubDate>
		<dc:creator>Russ Kaufmann</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://infrastructurehelp.wordpress.com/?p=378</guid>
		<description><![CDATA[I have been seeing some scary behavior lately. The environment is Exchange Server 2010 SP1 RU5. Basically, what is happening is that a calendar item is updated too often (against Microsoft’s clear Best Practices) and becomes corrupt. The corrupt calendar &#8230; <a href="http://infrastructurehelp.wordpress.com/2012/07/14/identifying-large-calendar-items/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=378&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have been seeing some scary behavior lately. The environment is Exchange Server 2010 SP1 RU5. Basically, what is happening is that a calendar item is updated too often (against Microsoft’s clear Best Practices) and becomes corrupt. The corrupt calendar item then causes excessive Database and Transaction Log growth. What makes this an ugly situation is that the user’s mailbox does not grow, and finding the user and the offending calendar item is very difficult.</p>
<p>Actually, finding the offending user isn’t too difficult since you can use ExMon to see that a user is consuming the majority of the resources. Finding the actual item is a bit more difficult.</p>
<p>Anyway, I have requested that Microsoft provide us with a PowerShell script that can be run on a regular basis to help identify Calendar items that have been updated excessively so we can go to the user and help them delete the item and to create a new one to replace it and also take the time to discuss Best Practices. It appears that to get what I want will require some leveraging of the EWS API which is not something that I can do. </p>
<p>James Milford did provide a nice solution that kind of meets my needs. I was not aware of the <strong>–IncludeAnalysis</strong> option for the <strong>Get-MailboxFolderStatistics</strong>. The resulting one-liner will identify the largest Calendar item in each person’s mailbox assuming that the item is over 5 mb. While a particular user may have many large items, at least this script will find their largest item.</p>
<blockquote><p><strong>Get-Mailbox | Get-MailboxFolderStatistics –FolderScope Calendar –IncludeAnalysis | Where {$_.TopSubjectSize –gt 5000000}| Select Identity,ItemsInFolder,TopSubject,TopSubjectSize | Export-Csv LargeCalendarItems.csv –notype</strong></p>
</blockquote>
<p>Your mileage may vary when it comes to how long this takes to run as the more mailboxes that you have in your Exchange organization, the longer it will take. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infrastructurehelp.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infrastructurehelp.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=infrastructurehelp.wordpress.com&#038;blog=16146079&#038;post=378&#038;subd=infrastructurehelp&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://infrastructurehelp.wordpress.com/2012/07/14/identifying-large-calendar-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/580c3c0886b6b64e78c0df33b85a1a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">russellkaufmann</media:title>
		</media:content>
	</item>
	</channel>
</rss>
