<?xml version="1.0" encoding="UTF-8"?>
<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/" version="2.0">

<channel>
	<title>Elan Shudnow's Blog</title>
	<atom:link href="http://www.shudnow.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shudnow.net</link>
	<description>Just another IT guy!</description>
	<lastBuildDate>Thu, 02 Jul 2009 16:45:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Exchange 2007 OWA via ISA RSA – Authentication Delegation</title>
		<link>http://www.shudnow.net/2009/07/01/exchange-2007-owa-via-isa-rsa-authentication-delegation/</link>
		<comments>http://www.shudnow.net/2009/07/01/exchange-2007-owa-via-isa-rsa-authentication-delegation/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 02:03:43 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ISA]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1153</guid>
		<description><![CDATA[When utilizing ISA (in this case, ISA 2006) to publish Outlook Web Access (OWA), there are various options you can choose from in order to authenticate a user.  One listener authentication mechanism that is often used is Forms Based Authentication.  By default, your ISA form when publishing OWA will look like the following:

As you can [...]]]></description>
			<content:encoded><![CDATA[<p>When utilizing ISA (in this case, ISA 2006) to publish Outlook Web Access (OWA), there are various options you can choose from in order to authenticate a user.  One listener authentication mechanism that is often used is Forms Based Authentication.  By default, your ISA form when publishing OWA will look like the following:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA01.jpg" alt="" width="500" height="399" /></p>
<p>As you can see, by default, it asks you for Domain\User name.  By going into the listener authentication options, you can specify the default domain that should be specified if the user does not specify a domain.  Without specifying this, if the user were to only enter their user name, authentication would fail as it is not passing the domain back to Exchange. By going into the properties of your OWA listener, you will see an Authentication tab.</p>
<p>Because we will be utilizing RSA, we will choose RSA as the method of Authentication utilizing Forms Based.  Because Exchange isn&#8217;t set to also authenticate to RSA (only ISA), we will need to collect additional information in the form.  This allows a user to also enter their AD credentials so after ISA authenticates a user, ISA can still pass back the AD credentials back to Exchange as the Authentication Delegation mechanism using Basic.  Selecting to Collect dditional delegation credentials in the form allows you to utilize either Basic, NTLM, or Negotiate as an Authentication Delegation mechanism.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA02.jpg" alt="" width="401" height="464" /></p>
<p>By clicking on Advanced, we can see the section in which we can configure the domain to automatically pass back to Exchange during the Authentication Delegation.  Again, a user authenticates from a browser to a web listener and from there, ISA then takes certain information about the user and passes that back to Exchange which is the Authentication Delegation piece.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA03.jpg" alt="" width="404" height="466" /></p>
<p>But, as you can see, the Domain name piece is greyed out.  But if you look at the authentication form for ISA when RSA is enabled, you can see it doesn&#8217;t ask for the Domain Name.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA04.jpg" alt="" width="502" height="571" /></p>
<p>Now because of this, if a user doesn&#8217;t specify to use a different user name which does allow you to enter a domain\username, the authentication delegation piece will fail as the basic authentication mechanism that you will set on Exchange will want a domain\username passed back.  So if we can&#8217;t set this in ISA, how do we set it?  Well, we can actually configure IIS to automatically assume a specific domain to be used if no domain is specified.  While IIS6 and IIS7 are very much different, you can actually utilize the Exchange Management Console to set this option which will stamp IIS appropriately (both IIS6 and IIS7.)</p>
<p>The default authentication option for OWA on a CAS is to use Forms Based Authentication and require a user to specify their domain.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA05.jpg" alt="" width="439" height="507" /></p>
<p>If you specify the following option, choose your domain, and click Apply, it will stamp IIS to assume the specified domain name.  A user can still specify their domain or not specify it and both will work when authenticating.  This should hopefully make you realize that if ISA relays authentication back to IIS on the CAS, that it won&#8217;t matter anymore if the domain is specified or not.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA06.jpg" alt="" width="441" height="506" /></p>
<p>But because our ISA Authentication Delegation for our OWA rule will utilize Basic Authentication, we now want to specify Basic Authentication within Exchange for OWA.  But don&#8217;t worry, even if you change it from the previous setting of Forms Based Authentication with the assumed domain, IIS will still stay stamped properly. So go ahead and choose Basic.  You will be prompted to do an IISReset -Noforce.  Go ahead and do it after choosing Basic.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA07.jpg" alt="" width="441" height="506" /></p>
<p>So back over to ISA, if we go into our Outlook Rule, we can see the Authentication Delegation set to Basic which it will need to be since that&#8217;s what the Authentication option is set to for OWA on our CAS.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/ISARSA08.jpg" alt="" width="404" height="482" /></p>
<p>So taking everything into account what we did above, what happens is the user authenticates to ISA utilizing a form and specifies their username without the domain, RSA key, and password for their username.  When they click Log On to authenticate, ISA will authenticate the user with RSA, and when that passes, ISA will utilize basic authentication due to the authentication delegation being set to basic to pass the username and password they specified (with no domain) back to OWA. Because IIS is stamped to automatically utilize the domain even if it wasn&#8217;t specified, authentication will work and the user will be logged into OWA.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F07%2F01%2Fexchange-2007-owa-via-isa-rsa-authentication-delegation%2F&amp;title=Exchange%202007%20OWA%20via%20ISA%20RSA%20-%20Authentication%20Delegation&amp;bodytext=When%20utilizing%20ISA%20%28in%20this%20case%2C%20ISA%202006%29%20to%20publish%20Outlook%20Web%20Access%20%28OWA%29%2C%20there%20are%20various%20options%20you%20can%20choose%20from%20in%20order%20to%20authenticate%20a%20user.%C2%A0%20One%20listener%20authentication%20mechanism%20that%20is%20often%20used%20is%20Forms%20Based%20Authentication.%C2" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F07%2F01%2Fexchange-2007-owa-via-isa-rsa-authentication-delegation%2F&amp;title=Exchange%202007%20OWA%20via%20ISA%20RSA%20-%20Authentication%20Delegation" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F07%2F01%2Fexchange-2007-owa-via-isa-rsa-authentication-delegation%2F&amp;title=Exchange%202007%20OWA%20via%20ISA%20RSA%20-%20Authentication%20Delegation&amp;notes=When%20utilizing%20ISA%20%28in%20this%20case%2C%20ISA%202006%29%20to%20publish%20Outlook%20Web%20Access%20%28OWA%29%2C%20there%20are%20various%20options%20you%20can%20choose%20from%20in%20order%20to%20authenticate%20a%20user.%C2%A0%20One%20listener%20authentication%20mechanism%20that%20is%20often%20used%20is%20Forms%20Based%20Authentication.%C2" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F07%2F01%2Fexchange-2007-owa-via-isa-rsa-authentication-delegation%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Exchange%202007%20OWA%20via%20ISA%20RSA%20-%20Authentication%20Delegation&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F07%2F01%2Fexchange-2007-owa-via-isa-rsa-authentication-delegation%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1153&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=98daLDGQFOA:QMNsB9A6m7s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=98daLDGQFOA:QMNsB9A6m7s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=98daLDGQFOA:QMNsB9A6m7s:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/98daLDGQFOA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/07/01/exchange-2007-owa-via-isa-rsa-authentication-delegation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross-Forest Mailbox Move Changes in Exchange 2010</title>
		<link>http://www.shudnow.net/2009/06/09/cross-forest-mailbox-move-changes-in-exchange-2010/</link>
		<comments>http://www.shudnow.net/2009/06/09/cross-forest-mailbox-move-changes-in-exchange-2010/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 18:42:43 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1119</guid>
		<description><![CDATA[There&#8217;s quite a few changes coming to a cross forest mailbox moves in Exchange 2010.  Well for one, in Exchange 2007, you would use Move-Mailbox.  In Exchange 2010, you would use New-MoveRequest.  The way these two cmdlets work in regards to cross forest mailbox moves is significant. Why?  Read on&#8230;
In Exchange 2007, when you did [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s quite a few changes coming to a cross forest mailbox moves in Exchange 2010.  Well for one, in Exchange 2007, you would use Move-Mailbox.  In Exchange 2010, you would use New-MoveRequest.  The way these two cmdlets work in regards to cross forest mailbox moves is significant. Why?  Read on&#8230;</p>
<p>In Exchange 2007, when you did a Move-Mailbox to another forest, that cmdlet would be doing some checks against your target environment to see if this user exists.  What&#8217;s the algorithm you ask?  IT&#8217;S A SECRET!  No really, it is.  It&#8217;s not really documented anywhere.  But thanks to <span id="spnFrom" class="rwRRO" title="dmitrig@exchange.microsoft.com" onclick="_e(this,this.getAttribute(&quot;_e_onclick&quot;), event)" ondblclick="_e(this,this.getAttribute(&quot;_e_ondblclick&quot;), event)">Dmitri Gavrilov from Microsoft, the algorithm is:<br />
</span></p>
<ul>
<li>Match on objectSID &#8211; First try masterAccountSID then try objectSID and sidHistory</li>
<li>Match on source LegacyExchangeDN &#8211; look for an x500:LegacyExchangeDN in target directory</li>
<li>Match proxyaddresses &#8211; look for any smtp addresses in the proxyaddresses attribute that exist in the source proxyaddresses attribute</li>
</ul>
<p>As you can see, there&#8217;s a lot of methods in which you can use.  Some may consider this bad and some may consider it good.  For Exchange 2010, Microsoft wanted to simplify the lookup process.  So instead of searching the target forest for any of the above attributes, New-MoveRequest will look for only one attribute only; msExchMailboxGuid.  Unlike Exchange 2007, the entire process for Exchange 2010 and exactly how you do this with Exchange 2010 will be fully documented. I consider this to be excellent news!</p>
<p>Some organizations will want to utilize ILM to bring over mail disabled users into the target forest so that New-MoveRequest will find the mail disabled user and use mail disabled user to associate a linked mailbox.  In this case, you will also want to bring over the msExchMasterAccountSid attribute which is required for linked mailboxes.</p>
<p>Thanks to Ian Lui from Microsoft, he provided the recommended attributes for bringing over a mail user:</p>
<ul>
<li>altRecipient</li>
<li>deliverAndRedirect</li>
<li>mail</li>
<li>mailNickname</li>
<li>msExchMailboxGUID</li>
<li>proxyAddresses (in addition to sync source mailbox proxyAddresses, synchronized legacyExchangeDN of the source mailbox as X500 address in the ProxyAddresses attribute of the target mail user. The logic is the same when the target object is a contact.)</li>
<li>publicDelegates</li>
<li>msExchHideFromAddressLists</li>
<li>msExchMasterAccountSid  (needed for linked mailbox)</li>
<li>msExchRecipientDisplayType  (Assume the source mailbox is a user mailbox; for linked mailbox, value is equivalent to *unsigned* 0xC0000006; for regular mailbox, value is equivalent to *unsigned* 0&#215;80000006)</li>
<li>msExchRecipientTypeDetails (MailUser = 0&#215;80,    // 128)<br />
TargetAddress (synchronize the PrimarySMTPAddress of the source mailbox as the TargetAddress of the target mail user. The logic is the same when the target object is a contact.)</li>
<li>SAMAccountName</li>
<li>userAccountControl (Disabled User Account &#8211; ACCOUNTDISABLE | NORMAL_ACCOUNT; 0&#215;202)</li>
</ul>
<p>You can also bring over any other attributes such as givenName, SN, etc at your discretion.</p>
<p>Now keep in mind, that if you are going to be migrating with a tool such as ADMT, QMM, etc. you will want to make sure the tool brings over the above attributes so when you do a New-MoveRequest, it will successfully find the target user and associate the mailbox with that migrated user.  But if you are in a resource forest scenario, that&#8217;s where you&#8217;d want to bring the user over as a mail disabled account with the msExchMasterAccountSid attribute as noted above.</p>
<p>Now what about companies that don&#8217;t have ILM and aren&#8217;t going to be using ADMT either?  Well, Move-Mailbox would create the mail disabled user if it found no user in the target forest with the appropriate attributes.  New-MoveRequest will NOT do this.  One reason is Microsoft wanted to reduce the complexity with Move-Mailbox.  They wanted to simplify the attribute that is used, the algorithm, and wanted to separate the AD provisioning task to another process.  Because of this, Microsoft is working on another separate tool/script that will provide the provisioning process for this exact task which reduces replication delay with the Move-Mailbox among other things.</p>
<p>At first, I was skeptical about all this.  Why remove functionality that was built-into the Move-Mailbox cmdlet already?  After taking an objective look at the reasoning of how complex Move-Mailbox was across forests before, and why simplifying the attribute used as well as separating AD provisioning to Exchange provisioning helps simplify the cross-forest mailbox moves and possible failures due to replication delay if you&#8217;re using the cmdlet to create mail disabled user accounts, you will understand the reasoning behind this.</p>
<p>Microsoft has yet to release the actual documentation on this or the script, but I wanted to give people a heads up on what&#8217;s to come.  I will update this post as those things get released.  A big thanks goes out to <span id="spnFrom" class="rwRRO" title="dmitrig@exchange.microsoft.com" onclick="_e(this,this.getAttribute(&quot;_e_onclick&quot;), event)" ondblclick="_e(this,this.getAttribute(&quot;_e_ondblclick&quot;), event)">Dmitri Gavrilov and </span>Ian Lui for providing a lot of the information that you see above.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F09%2Fcross-forest-mailbox-move-changes-in-exchange-2010%2F&amp;title=Cross-Forest%20Mailbox%20Move%20Changes%20in%20Exchange%202010&amp;bodytext=There%27s%20quite%20a%20few%20changes%20coming%20to%20a%20cross%20forest%20mailbox%20moves%20in%20Exchange%202010.%C2%A0%20Well%20for%20one%2C%20in%20Exchange%202007%2C%20you%20would%20use%20Move-Mailbox.%C2%A0%20In%20Exchange%202010%2C%20you%20would%20use%20New-MoveRequest.%C2%A0%20The%20way%20these%20two%20cmdlets%20work%20in%20regards%20to%20cross" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F09%2Fcross-forest-mailbox-move-changes-in-exchange-2010%2F&amp;title=Cross-Forest%20Mailbox%20Move%20Changes%20in%20Exchange%202010" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F09%2Fcross-forest-mailbox-move-changes-in-exchange-2010%2F&amp;title=Cross-Forest%20Mailbox%20Move%20Changes%20in%20Exchange%202010&amp;notes=There%27s%20quite%20a%20few%20changes%20coming%20to%20a%20cross%20forest%20mailbox%20moves%20in%20Exchange%202010.%C2%A0%20Well%20for%20one%2C%20in%20Exchange%202007%2C%20you%20would%20use%20Move-Mailbox.%C2%A0%20In%20Exchange%202010%2C%20you%20would%20use%20New-MoveRequest.%C2%A0%20The%20way%20these%20two%20cmdlets%20work%20in%20regards%20to%20cross" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F09%2Fcross-forest-mailbox-move-changes-in-exchange-2010%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Cross-Forest%20Mailbox%20Move%20Changes%20in%20Exchange%202010&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F09%2Fcross-forest-mailbox-move-changes-in-exchange-2010%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1119&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=BYTHnUoqgkY:ZF_1APah4uc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=BYTHnUoqgkY:ZF_1APah4uc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=BYTHnUoqgkY:ZF_1APah4uc:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/BYTHnUoqgkY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/06/09/cross-forest-mailbox-move-changes-in-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create Pool – Run on OCS or SQL Server?</title>
		<link>http://www.shudnow.net/2009/06/01/create-pool-run-on-ocs-or-sql-server/</link>
		<comments>http://www.shudnow.net/2009/06/01/create-pool-run-on-ocs-or-sql-server/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 00:54:15 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[OCS]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1098</guid>
		<description><![CDATA[The guidance around where to create your pool and why can be quite confusing.
If you look at the OCS R1 requirements for deploying an Enterprise Pool, it tells you the following:

If you are using a 32-bit version of SQL Server, log on to your Office Communications Server Back-end Database server as a member of the [...]]]></description>
			<content:encoded><![CDATA[<p>The guidance around where to create your pool and why can be quite confusing.</p>
<p>If you look at the OCS R1 requirements for deploying an Enterprise Pool, it tells you the following:</p>
<ul>
<li>If you are using a 32-bit version of SQL Server, log on to your Office Communications Server Back-end Database server as a member of the Domain Admins group.</li>
<li>If you are using a 64-bit version of SQL Server, create the pool by using a computer with a 32-bit processor, such as the computer that you plan to use as the Front End Server. Log on to the 32-bit processor computer as a member of RTCUniversalServerAdmins and Domain Admins group and with user rights to create and modify SQL Server databases.</li>
</ul>
<p>If you look at the OCS R2 requirements for deploying an Enterprise Pool, it tells you the following:</p>
<ul>
<li>If you are using a 64-bit version of SQL Server, log on to your Office Communications Server Back-end Database as a member of RTCUniversalServerAdmins and DomainAdmins group.</li>
<li>If you are using a 32-bit version of SQL Server, create the pool by using the computer that you plan to use as the Front End Server. Log on to this computer as a member of RTCUniversalServerAdmins and Domain Admins group and with user rights to create and modify SQL Server databases.</li>
</ul>
<p>As you can see, it’s a complete 180 between R1 and R2.  To make it easier to digest, here&#8217;s an easier format to see what you should do:</p>
<p>OCS R1 with SQL 32-bit – Create Pool on SQL<br />
OCS R1 with SQL 64-bit – Create pool on OCS FE</p>
<p>OCS R2 with SQL 32-bit – Create Pool on OCS FE<br />
OCS R2 with SQL 64-bit – Create Pool on SQL</p>
<p>The reason why it&#8217;s a complete 180 is because Microsoft wants you to run the installer on the native platform of the installer.  OCS R1 is 32-bit so you always want to run the installer on a 32-bit machine.  OCS R2 is 64-bit so you always want to run the installer on a 64-bit machine.</p>
<p>But the million dollar question is, is it really necessary to run it from the Backend?  Does that mean you have to insert your OCS CD, install .Net Framework, Visual C++, etc&#8230;.  Well, you could, but you  can use LCSCMD to configure your pool instead.  LCSCMD is on your CD and you can just open a cmd prompt, navigate to your cd-rom, and run the LCSCMD command with the appropriate settings to configure your pool without needing to install at the tools the installer GUI would require.  LCSCMD would also bypass the requirement from running the installer on the same processor platform (x86/x64.) You can refer to the following article <a href="http://technet.microsoft.com/en-us/library/dd572486(office.13).aspx">here</a> for information on how to use LCSCMD to create an Enterprise Pool.</p>
<p>But, that doesn&#8217;t really explain why it is recommended running it on the Backend. After talking with Ken Alverson from Microsoft about this, I learned a few things.  The reason they recommend to create the pool on the SQL Server is to minimize the possibility of firewall/permissions from interfering.  The Create Pool requires access to both SQL as well as WMI.  You can technically open up all the ports to SQL as well as WMI and run Configure Your Pool from your OCS Server.  This is what I did but instead of opening it completely, I  ran Network Monitor to determine what ports to open.  You could also disable your Windows Firewall on your SQL Server to ensure access to your SQL Server.  Never disable the firewall service on Server 2008 as this disrupts proper communication.  Either turn the firewall off or go into the advanced firewall in the administrative tools and open everything up.</p>
<p>So in short, you have the following options with OCS R2:</p>
<ol>
<li>Turn off firewall on SQL (don&#8217;t disable firewall service) and install from OCS Server (lowers security but easiest to do.)  After the pool is created, you can re-enable your firewall as long as you follow the OCS documentation (installation guide for Enterprise Edition) and open the necessary ports.)</li>
<li>Allow SQL Ports and WMI to traverse SQL Firewall (more secure than #1 but less easy to do)</li>
<li>Run Create Pool from SQL Server via the GUI Installer (more secure than #1 and #2 but not an option I like due to it installing GUI prerequisites)</li>
<li>Run Create Pool from LCSCMD via the CD which will install a SQL prerequisite I believe (most secure option but requires knowledge of the LCSCMD command.)  You can refer to the following article <a href="http://technet.microsoft.com/en-us/library/dd572486(office.13).aspx">here</a> for information on how to use LCSCMD to create an Enterprise Pool.</li>
</ol>
<p>I would appreciate if readers can make a quick comment on what method you use.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F01%2Fcreate-pool-run-on-ocs-or-sql-server%2F&amp;title=Create%20Pool%20-%20Run%20on%20OCS%20or%20SQL%20Server%3F&amp;bodytext=The%20guidance%20around%20where%20to%20create%20your%20pool%20and%20why%20can%20be%20quite%20confusing.%0D%0A%0D%0AIf%20you%20look%20at%20the%20OCS%20R1%20requirements%20for%20deploying%20an%20Enterprise%20Pool%2C%20it%20tells%20you%20the%20following%3A%0D%0A%0D%0A%09If%20you%20are%20using%20a%2032-bit%20version%20of%20SQL%20Server%2C%20log%20on%20to%20your%20" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F01%2Fcreate-pool-run-on-ocs-or-sql-server%2F&amp;title=Create%20Pool%20-%20Run%20on%20OCS%20or%20SQL%20Server%3F" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F01%2Fcreate-pool-run-on-ocs-or-sql-server%2F&amp;title=Create%20Pool%20-%20Run%20on%20OCS%20or%20SQL%20Server%3F&amp;notes=The%20guidance%20around%20where%20to%20create%20your%20pool%20and%20why%20can%20be%20quite%20confusing.%0D%0A%0D%0AIf%20you%20look%20at%20the%20OCS%20R1%20requirements%20for%20deploying%20an%20Enterprise%20Pool%2C%20it%20tells%20you%20the%20following%3A%0D%0A%0D%0A%09If%20you%20are%20using%20a%2032-bit%20version%20of%20SQL%20Server%2C%20log%20on%20to%20your%20" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F01%2Fcreate-pool-run-on-ocs-or-sql-server%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Create%20Pool%20-%20Run%20on%20OCS%20or%20SQL%20Server%3F&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F06%2F01%2Fcreate-pool-run-on-ocs-or-sql-server%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1098&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=ZpJW-UkR_dw:wSV3xDziE5c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=ZpJW-UkR_dw:wSV3xDziE5c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=ZpJW-UkR_dw:wSV3xDziE5c:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/ZpJW-UkR_dw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/06/01/create-pool-run-on-ocs-or-sql-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Shared Mailbox Permission/Delegates Issues</title>
		<link>http://www.shudnow.net/2009/05/30/exchange-2007-shared-mailbox-permissiondelegates-issues/</link>
		<comments>http://www.shudnow.net/2009/05/30/exchange-2007-shared-mailbox-permissiondelegates-issues/#comments</comments>
		<pubDate>Sat, 30 May 2009 20:53:30 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1086</guid>
		<description><![CDATA[This post is a bit different than the other shared mailbox posts out there.   A couple articles in regards to shared mailbox permissions  include:
http://knicksmith.blogspot.com/2007/03/exchange-2007-and-shared-mailboxes.html
http://blogs.technet.com/msukucc/archive/2009/02/23/shared-mailboxes.aspx
As you can see, these articles including adding SendAs and/or FullAccess.  But what if you don&#8217;t want to provide FullAccess and/or SendAs and just want some basic permissions?  This is where [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a bit different than the other shared mailbox posts out there.   A couple articles in regards to shared mailbox permissions  include:</p>
<p><a href="http://knicksmith.blogspot.com/2007/03/exchange-2007-and-shared-mailboxes.html">http://knicksmith.blogspot.com/2007/03/exchange-2007-and-shared-mailboxes.html</a></p>
<p><a href="http://blogs.technet.com/msukucc/archive/2009/02/23/shared-mailboxes.aspx">http://blogs.technet.com/msukucc/archive/2009/02/23/shared-mailboxes.aspx</a></p>
<p>As you can see, these articles including adding SendAs and/or FullAccess.  But what if you don&#8217;t want to provide FullAccess and/or SendAs and just want some basic permissions?  This is where we ran into depending on how you create the shared mailbox.  We were giving Editor+ permssions on a calendar for another user.  This would allow us to create/edit/etc.  You can see specifically what it allows by looking at the screenshot below.</p>
<p>So let&#8217;s say we have a shared mailbox called Aaron Tiensivu.  Yes, I&#8217;m sure many of you recognize his name from his blog <a href="http://blog.tiensivu.com/aaron/">here</a>.  He&#8217;s a coworker of mine so I&#8217;m using him as an example.   I am going to open his calendar from my Outlook client and try to modify his calendar.  In order to do this, we need the following permissions:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/SharedMailbox03.jpg" alt="" width="404" height="557" /></p>
<p>This allows us me to open the shared mailbox&#8217;s calendar by going to <strong>File</strong> &gt; <strong>Open</strong> &gt; <strong>Other User&#8217;s Folder&#8230;</strong> and choosing the following options:</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/SharedMailbox01.jpg" alt="" width="283" height="134" /></p>
<p>Again, in the case of my article, just think of Aaron Tiensivu as a shared mailbox here. :)</p>
<p>So I open the mailbox Aaron Tiensivu and verify that his calendar opens.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/SharedMailbox02.jpg" alt="" width="863" height="441" /></p>
<p><strong>The Problem</strong>: The problem though, is that when you try to create an calendar item, you hear an error beep but no error shows up and you aren&#8217;t able to create/modify/etc. to the shared mailbox&#8217;s calendar.  Turning up Outlook Logging doesn&#8217;t reveal any pertinent information.  I did find two workarounds though which I don&#8217;t really care for and a third workaround which may or may not be considered a workaround to some.</p>
<p><strong>Workaround 1</strong>:  The first workaround was by giving FullAccess Permissions on Aaron Tiensivu&#8217;s Shared Mailbox to Elan Shudnow either via EMC or EMS.  You can find out how to do that <a href="http://www.shudnow.net/images/SharedMailbox02.jpg">here</a>.</p>
<p><strong>Workaround 2</strong>:  The second workaround is to convert the shared mailbox to a user mailbox and start using the shared mailbox concept utilizing a user mailbox (which enables the AD account) using the following command:</p>
<p><strong>Set-Mailbox -Identity &#8220;Aaron Tiensivu&#8221; -Type User</strong></p>
<p>Now the interesting thing is that this only happens when you create a shared mailbox, not convert it.  What I mean by this, is this when you create a shared mailbox using the following PowerShell command, the issue occurs:</p>
<p><strong>new-Mailbox -alias ATiensivu -name &#8220;Aaron Tiensivu&#8221; -database &#8220;Mailbox Database&#8221; -org Users -shared -UserPrincipalName aarontiensivu@example.com</strong></p>
<p>What I noticed is that when you create a brand new user mailbox (not shared) using either the Exchange Management Console or the Exchange Management Shell, all the above delegation that previously failed with a brand new shared mailbox works as intended.  And even when we convert the user mailbox to a shared mailbox, delegate access works as intended as long as it was first created as a user mailbox instead of a shared mailbox.  It&#8217;s almost as if there&#8217;s some issue when you create a shared mailbox but it&#8217;s fine when creating a regular user mailbox and converting it to a shared mailbox.</p>
<p>A fellow MVP, <a href="http://gsexdev.blogspot.com/">Glen Scales</a>, had recommended I try using a MAPI Editor and/or pfdavadmin to check the local freebusy folder in the NON_IPM_Subtree to see whether the correct permissions are being applied.  Glen did point out that the Outlook client should be taking care of this permission.  Unfortunately because we see that Shared Mailboxes work after converting them, our team moved onto other things for the remainder of the day due to a tight schedule.  If I do find time, I&#8217;ll try creating a shared mailbox from scratch and check this out and update this post.</p>
<p>Now of course, you may not encounter this issue as I have.  As IT people, we all know that sometimes things work in one environment and not the other.  So if you do happen to have this issue and find yourself reading this blog entry, please submit a comment with your findings/information.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F30%2Fexchange-2007-shared-mailbox-permissiondelegates-issues%2F&amp;title=Exchange%202007%20Shared%20Mailbox%20Permission%2FDelegates%20Issues&amp;bodytext=This%20post%20is%20a%20bit%20different%20than%20the%20other%20shared%20mailbox%20posts%20out%20there.%20%C2%A0%20A%20couple%20articles%20in%20regards%20to%20shared%20mailbox%20permissions%C2%A0%20include%3A%0D%0A%0D%0Ahttp%3A%2F%2Fknicksmith.blogspot.com%2F2007%2F03%2Fexchange-2007-and-shared-mailboxes.html%0D%0A%0D%0Ahttp%3A%2F%2Fblogs.tec" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F30%2Fexchange-2007-shared-mailbox-permissiondelegates-issues%2F&amp;title=Exchange%202007%20Shared%20Mailbox%20Permission%2FDelegates%20Issues" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F30%2Fexchange-2007-shared-mailbox-permissiondelegates-issues%2F&amp;title=Exchange%202007%20Shared%20Mailbox%20Permission%2FDelegates%20Issues&amp;notes=This%20post%20is%20a%20bit%20different%20than%20the%20other%20shared%20mailbox%20posts%20out%20there.%20%C2%A0%20A%20couple%20articles%20in%20regards%20to%20shared%20mailbox%20permissions%C2%A0%20include%3A%0D%0A%0D%0Ahttp%3A%2F%2Fknicksmith.blogspot.com%2F2007%2F03%2Fexchange-2007-and-shared-mailboxes.html%0D%0A%0D%0Ahttp%3A%2F%2Fblogs.tec" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F30%2Fexchange-2007-shared-mailbox-permissiondelegates-issues%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Exchange%202007%20Shared%20Mailbox%20Permission%2FDelegates%20Issues&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F30%2Fexchange-2007-shared-mailbox-permissiondelegates-issues%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1086&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=YYtMyigOgXE:cXAvr-OgIrg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=YYtMyigOgXE:cXAvr-OgIrg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=YYtMyigOgXE:cXAvr-OgIrg:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/YYtMyigOgXE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/05/30/exchange-2007-shared-mailbox-permissiondelegates-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Another Exchange Scriplet (Moving Mailboxes)</title>
		<link>http://www.shudnow.net/2009/05/19/another-exchange-scriplet-moving-mailboxes/</link>
		<comments>http://www.shudnow.net/2009/05/19/another-exchange-scriplet-moving-mailboxes/#comments</comments>
		<pubDate>Tue, 19 May 2009 18:34:50 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1063</guid>
		<description><![CDATA[This one I created for the following reasons:
1. Mailbox Database was filling up
2. Wanted to take the filled up database and split them across two different databases.
The script will sort all the mailboxes by size and take 40% of the largest mailboxes and move them to a specified database and take the remaining 60% and [...]]]></description>
			<content:encoded><![CDATA[<p>This one I created for the following reasons:<br />
1. Mailbox Database was filling up<br />
2. Wanted to take the filled up database and split them across two different databases.</p>
<p>The script will sort all the mailboxes by size and take 40% of the largest mailboxes and move them to a specified database and take the remaining 60% and move them to the other database.</p>
<p>If you don&#8217;t want to specify the exact database name and just want PowerShell to use part of the name you specify to find a matching database, you can change the part where it states {$_.Name -eq $sourceDB} to have -like instead of -eq.  Do the same for the following two pieces of code: {$_.Name -eq $targetDBLarge} and {$_.Name -eq $targetDBSmall}.  -eq needs the exact match for the database name and -like basically takes the database name and puts wild cards around it so it&#8217;s more like *databaseyouspecify* and then finds a matching database that is like the name you specified.</p>
<p><span style="color: #ff0000;">Important</span>: I added -whatif switches to the move-mailbox commands below to be extra safe.  To actually move the mailboxes, you&#8217;ll need to remove the -whatif.   And as always, <strong>MAKE SURE YOU TEST THIS IN LAB BEFORE RUNNING IT IN PRODUCTION AND HAVE A GOOD BACKUP UP AD/EXCHANGE/ETC AS WELL!</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1063code2'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p10632"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code" id="p1063code2"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$sourceDB</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Specify your Source Database Here&quot;</span>
<span style="color: #800080;">$targetDBLarge</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Specify your larger database in which 40% of the largest mailboxes will be moved to&quot;</span>
<span style="color: #800080;">$targetDBSmall</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Specify your smaller database in which the remaining 60% of the smaller mailboxes will be moved to&quot;</span>
&nbsp;
<span style="color: #008000;">############################################</span>
<span style="color: #008000;">####### Don't modify below this line #######</span>
<span style="color: #008000;">############################################</span>
&nbsp;
<span style="color: #800080;">$a</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>MailboxStatistics <span style="color: pink;">-</span>Database $<span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>Mailboxdatabase <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.Name <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$sourceDB</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">where</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.ObjectClass <span style="color: #FF0000;">-NotMatch</span> <span style="color: #800000;">'(SystemAttendantMailbox|ExOleDbSystemMailbox)'</span><span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Sort-Object</span> Totalitemsize
&nbsp;
<span style="color: #800080;">$rounded</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span>math<span style="color: #000000;">&#93;</span>::round<span style="color: #000000;">&#40;</span><span style="color: #800080;">$a</span>.count <span style="color: pink;">*</span> .4<span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$first</span> <span style="color: pink;">=</span> <span style="color: #800080;">$rounded</span>
<span style="color: #800080;">$last</span> <span style="color: pink;">=</span> <span style="color: #800080;">$a</span>.count <span style="color: pink;">-</span> <span style="color: #800080;">$first</span>
&nbsp;
<span style="color: #800080;">$a</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Select-object</span> <span style="color: #008080; font-style: italic;">-First</span> <span style="color: #800080;">$first</span> <span style="color: pink;">|</span> Move<span style="color: pink;">-</span>Mailbox <span style="color: pink;">-</span>TargetDatabase $<span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>Mailboxdatabase <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.Name <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$targetDBLarge</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span> <span style="color: #008080; font-style: italic;">-whatif</span>
<span style="color: #800080;">$a</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Select-object</span> <span style="color: #008080; font-style: italic;">-Last</span> <span style="color: #800080;">$last</span> <span style="color: pink;">|</span> Move<span style="color: pink;">-</span>Mailbox <span style="color: pink;">-</span>TargetDatabase $<span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>Mailboxdatabase <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.Name <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$targetDBSmall</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span> <span style="color: #008080; font-style: italic;">-whatif</span></pre></td></tr></table></div>





	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F19%2Fanother-exchange-scriplet-moving-mailboxes%2F&amp;title=Another%20Exchange%20Scriplet%20%28Moving%20Mailboxes%29&amp;bodytext=This%20one%20I%20created%20for%20the%20following%20reasons%3A%0D%0A1.%20Mailbox%20Database%20was%20filling%20up%0D%0A2.%20Wanted%20to%20take%20the%20filled%20up%20database%20and%20split%20them%20across%20two%20different%20databases.%0D%0A%0D%0AThe%20script%20will%20sort%20all%20the%20mailboxes%20by%20size%20and%20take%2040%25%20of%20the%20largest%20m" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F19%2Fanother-exchange-scriplet-moving-mailboxes%2F&amp;title=Another%20Exchange%20Scriplet%20%28Moving%20Mailboxes%29" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F19%2Fanother-exchange-scriplet-moving-mailboxes%2F&amp;title=Another%20Exchange%20Scriplet%20%28Moving%20Mailboxes%29&amp;notes=This%20one%20I%20created%20for%20the%20following%20reasons%3A%0D%0A1.%20Mailbox%20Database%20was%20filling%20up%0D%0A2.%20Wanted%20to%20take%20the%20filled%20up%20database%20and%20split%20them%20across%20two%20different%20databases.%0D%0A%0D%0AThe%20script%20will%20sort%20all%20the%20mailboxes%20by%20size%20and%20take%2040%25%20of%20the%20largest%20m" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F19%2Fanother-exchange-scriplet-moving-mailboxes%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Another%20Exchange%20Scriplet%20%28Moving%20Mailboxes%29&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F19%2Fanother-exchange-scriplet-moving-mailboxes%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1063&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=0lpWO-OdTQs:6Nh8i_hNULI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=0lpWO-OdTQs:6Nh8i_hNULI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=0lpWO-OdTQs:6Nh8i_hNULI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/0lpWO-OdTQs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/05/19/another-exchange-scriplet-moving-mailboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A few Exchange PowerShell scriptlets</title>
		<link>http://www.shudnow.net/2009/05/14/a-few-exchange-powershell-scriptlets/</link>
		<comments>http://www.shudnow.net/2009/05/14/a-few-exchange-powershell-scriptlets/#comments</comments>
		<pubDate>Thu, 14 May 2009 18:07:14 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1024</guid>
		<description><![CDATA[Figured I would share a few scriptlets I&#8217;ve written recently.  Hopefully some of you may find them useful at some point at least.
Scriptlet 1
Find out all users who live on a specific mailbox without having to type the entire mailbox database name:

?View Code POWERSHELL1
get-mailbox -database $&#40;get-mailboxdatabase &#124; where-object &#123;$_.name -like &#34;*Database1*&#34;&#125;&#41; &#124; Format-Table Name,Database -wrap [...]]]></description>
			<content:encoded><![CDATA[<p>Figured I would share a few scriptlets I&#8217;ve written recently.  Hopefully some of you may find them useful at some point at least.</p>
<h4>Scriptlet 1</h4>
<p>Find out all users who live on a specific mailbox without having to type the entire mailbox database name:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1024code8'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p10248"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1024code8"><pre class="powershell" style="font-family:monospace;">get<span style="color: pink;">-</span>mailbox <span style="color: pink;">-</span>database $<span style="color: #000000;">&#40;</span>get<span style="color: pink;">-</span>mailboxdatabase <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">where-object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.name <span style="color: #FF0000;">-like</span> <span style="color: #800000;">&quot;*Database1*&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Format-Table</span> Name<span style="color: pink;">,</span>Database <span style="color: #008080; font-style: italic;">-wrap</span> <span style="color: #008080; font-style: italic;">-autosize</span></pre></td></tr></table></div>

<h4>Scriptlet 2</h4>
<p>Get statistics on a specific user without knowing the entire name or if you&#8217;d want to find out statistics on all users who have the first name John or last name Doe:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1024code9'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p10249"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1024code9"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>MailboxStatistics <span style="color: pink;">-</span>server serverhere <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.DisplayName <span style="color: #FF0000;">-like</span> <span style="color: #800000;">&quot;*MailboxUserName*&quot;</span><span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Format-Table</span> DisplayName<span style="color: pink;">,</span>ItemCount<span style="color: pink;">,</span>TotalItemSize</pre></td></tr></table></div>

<h4>Scriptlet 3</h4>
<p>When you are in an environment with multiple Mailbox Servers, it may be annoying to find what disconnected mailbox lives on which server since the Exchange Management Console will only connect to one server at a time and when connected, it&#8217;ll only show disconnected mailboxes for that specific server.  This scriptlet will cycle through all mailbox servers and report back all disconnected mailbox servers and which disconnected mailbox lives on which mailbox server.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1024code10'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p102410"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p1024code10"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$mbx</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>ExchangeServer <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.IsMailboxserver <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$true</span><span style="color: #000000;">&#125;</span>
<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$server</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$mbx</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
	Get<span style="color: pink;">-</span>Mailboxstatistics <span style="color: pink;">-</span>Server <span style="color: #800080;">$Server</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <span style="color: #000080;">$_</span>.DisconnectDate <span style="color: #FF0000;">-ne</span> <span style="color: #800080;">$null</span> <span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Format-Table</span> DisplayName<span style="color: pink;">,</span>ItemCount<span style="color: pink;">,</span>OriginatingServer <span style="color: #008080; font-style: italic;">-wrap</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<h4>Scriptlet 4</h4>
<p>Based on a CSV file, export users contacts that were created after a certain start date to a PST file.  A copy of how the CSV should be formatted is located <a href="http://www.shudnow.net/files/pstusers.csv">here</a>.  While the CSV contains multiple columns, the script only utilizes the Account Name column by default.  If you want to modify what columns it uses, you can change the line below that starts with $AdName =.  After the script pulls the name in the Account Name field, it finds the mailbox using the Get-Mailbox command with the name that was specified in the Account Name field.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1024code11'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p102411"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code" id="p1024code11"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$file</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;pstusers.csv&quot;</span>
<span style="color: #800080;">$PSTLocation</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;C:\PSTs&quot;</span>
<span style="color: #800080;">$StartDate</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;03/20/2009&quot;</span>
&nbsp;
<span style="color: #008000;">############################################</span>
<span style="color: #008000;">####### Don't modify below this line #######</span>
<span style="color: #008000;">############################################</span>
<span style="color: #800080;">$erroractionpreference</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;SilentlyContinue&quot;</span>
<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: pink;">!</span><span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">Test-Path</span> <span style="color: #008080; font-style: italic;">-path</span> <span style="color: #800080;">$PSTLocation</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #800000;">&quot;Creating the Directory $PSTLocation&quot;</span> <span style="color: #008080; font-style: italic;">-ForegroundColor</span> Yellow
	<span style="color: #008080; font-weight: bold;">New-Item</span> <span style="color: #008080; font-style: italic;">-ItemType</span> <span style="color: #800000;">&quot;Directory&quot;</span> <span style="color: #008080; font-style: italic;">-Path</span> <span style="color: #800080;">$PSTlocation</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">Test-Path</span> <span style="color: #800080;">$file</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #800080;">$excel</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Import-CSV</span> <span style="color: #800080;">$file</span>
	<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$line</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$excel</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #800080;">$AdName</span> <span style="color: pink;">=</span> <span style="color: #800080;">$line</span>.<span style="color: #800000;">&quot;Account Name&quot;</span>
		<span style="color: #800080;">$Mailbox</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>Mailbox <span style="color: #800080;">$AdName</span>
		<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$Mailbox</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #800000;">&quot;$AdName is being exported to $PSTLocation&quot;</span>
			<span style="color: #800080;">$Mailbox</span> <span style="color: pink;">|</span> Export<span style="color: pink;">-</span>Mailbox <span style="color: pink;">-</span>PSTFolderPath <span style="color: #800080;">$PSTLocation</span> <span style="color: pink;">-</span>StartDate <span style="color: #800080;">$StartDate</span> <span style="color: pink;">-</span>ExcludeFolders <span style="color: #800000;">&quot;\Inbox&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Deleted Items&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Drafts&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Junk E-mail&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Outbox&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Sent Items&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Journal&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Calendar&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Notes&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;\Tasks&quot;</span>
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span> <span style="color: #008080; font-weight: bold;">Write-Warning</span> <span style="color: #800000;">&quot;$ADName Mailbox Does not Exist&quot;</span> <span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #008080; font-weight: bold;">Write-Warning</span> <span style="color: #800000;">&quot;The file $file does not exist&quot;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<h4>Scriptlet 5</h4>
<p>If you are familiar with Quest Notes Migrator for Exchange, you may have had the chance to migrate data to a PST file.  What you will see, is that the PST gets migrated with the Display Name of the user.  For example, we if migrated the Notes mailbox of Elan Shudnow to a PST, the PST file name would be Elan Shudnow.PST. A lot of people won&#8217;t want to migrate the PST directly from Quest NME to a user&#8217;s home share because that user&#8217;s home share may be located in a remote site and opening a PST file across a network isn&#8217;t really a good idea; especially over long distances.</p>
<p>So I wrote a script so you can migrate all the PST files locally and then it&#8217;ll check the Display Name portion of the PST file and use that display name to find a matching user in AD and then find their home directory and then copy that PST file to that home share.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1024code12'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p102412"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code" id="p1024code12"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;"># Set Location to where the PST files are started</span>
<span style="color: #008080; font-weight: bold;">Set-Location</span> <span style="color: #800000;">&quot;E:\&quot;</span>
&nbsp;
<span style="color: #800080;">$pstData</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Get-ChildItem</span> <span style="color: #008080; font-style: italic;">-recurse</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.Name <span style="color: #FF0000;">-like</span> <span style="color: #800000;">&quot;*.pst&quot;</span><span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0000FF;">function</span> Get<span style="color: pink;">-</span>HomeDirectory <span style="color: #000000;">&#40;</span><span style="color: #800080;">$displayName</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #800080;">$ads</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">New-Object</span> System.DirectoryServices.DirectorySearcher<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>ADSI<span style="color: #000000;">&#93;</span><span style="color: #800000;">''</span><span style="color: #000000;">&#41;</span>
	<span style="color: #800080;">$ads</span>.<span style="color: #0000FF;">filter</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;(&amp;(objectClass=Person)(displayName=$displayName))&quot;</span>
	<span style="color: #800080;">$s</span> <span style="color: pink;">=</span> <span style="color: #800080;">$ads</span>.FindOne<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
	<span style="color: #0000FF;">return</span> <span style="color: #800080;">$s</span>.GetDirectoryEntry<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>.homeDirectory
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$pstUser</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$pstData</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #800080;">$PSTName</span> <span style="color: pink;">=</span> <span style="color: #800080;">$pstUser</span>.Name
	<span style="color: #800080;">$PSTDisplayName</span> <span style="color: pink;">=</span> <span style="color: #800080;">$pstUser</span>.Name.split<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;.&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#93;</span>
	<span style="color: #800080;">$PSTDisplayName</span> <span style="color: pink;">=</span> <span style="color: #800080;">$PSTDisplayName</span>.split<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;-&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#93;</span>
	<span style="color: #800080;">$Path</span> <span style="color: pink;">=</span> <span style="color: #800080;">$PSTUser</span>.DirectoryName <span style="color: pink;">+</span> <span style="color: #800000;">&quot;\&quot;</span> <span style="color: pink;">+</span> <span style="color: #800080;">$PSTUser</span>.Name
	<span style="color: #800080;">$Directory</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>HomeDirectory <span style="color: #800080;">$PSTDisplayName</span>
	<span style="color: #008080; font-weight: bold;">Copy-Item</span> <span style="color: #800080;">$Path</span> <span style="color: #800080;">$Directory</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>





	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F14%2Fa-few-exchange-powershell-scriptlets%2F&amp;title=A%20few%20Exchange%20PowerShell%20scriptlets&amp;bodytext=Figured%20I%20would%20share%20a%20few%20scriptlets%20I%27ve%20written%20recently.%C2%A0%20Hopefully%20some%20of%20you%20may%20find%20them%20useful%20at%20some%20point%20at%20least.%0D%0AScriptlet%201%0D%0AFind%20out%20all%20users%20who%20live%20on%20a%20specific%20mailbox%20without%20having%20to%20type%20the%20entire%20mailbox%20database%20name" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F14%2Fa-few-exchange-powershell-scriptlets%2F&amp;title=A%20few%20Exchange%20PowerShell%20scriptlets" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F14%2Fa-few-exchange-powershell-scriptlets%2F&amp;title=A%20few%20Exchange%20PowerShell%20scriptlets&amp;notes=Figured%20I%20would%20share%20a%20few%20scriptlets%20I%27ve%20written%20recently.%C2%A0%20Hopefully%20some%20of%20you%20may%20find%20them%20useful%20at%20some%20point%20at%20least.%0D%0AScriptlet%201%0D%0AFind%20out%20all%20users%20who%20live%20on%20a%20specific%20mailbox%20without%20having%20to%20type%20the%20entire%20mailbox%20database%20name" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F14%2Fa-few-exchange-powershell-scriptlets%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=A%20few%20Exchange%20PowerShell%20scriptlets&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F05%2F14%2Fa-few-exchange-powershell-scriptlets%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1024&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=jtw3icaYfKk:1yxxUfR8afw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=jtw3icaYfKk:1yxxUfR8afw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=jtw3icaYfKk:1yxxUfR8afw:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/jtw3icaYfKk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/05/14/a-few-exchange-powershell-scriptlets/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Permissions and Security Groups</title>
		<link>http://www.shudnow.net/2009/04/17/exchange-2010-permissions-and-security-groups/</link>
		<comments>http://www.shudnow.net/2009/04/17/exchange-2010-permissions-and-security-groups/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 15:54:17 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=1006</guid>
		<description><![CDATA[Exchange 2010 most definitely brings in some new features to allow for a more intuitive and granular administrative experience in terms of how you allow and/or disallow administration from a permissions perspective.  But to understand why Exchange 2010 management was designed the way it was, let&#8217;s take a brief history lesson.
Management History
Exchange 2003 provided management [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange 2010 most definitely brings in some new features to allow for a more intuitive and granular administrative experience in terms of how you allow and/or disallow administration from a permissions perspective.  But to understand why Exchange 2010 management was designed the way it was, let&#8217;s take a brief history lesson.</p>
<h3>Management History</h3>
<p>Exchange 2003 provided management with the Exchange System Manager. Exchange 2007 provided management with the Exchange Management Console (EMC) and the Exchange Management Shell (EMS).  You were limited as to what you could do based on what Exchange Management Group you were in.</p>
<p>Exchange 2003 administration groups consisted of:</p>
<ul>
<li>Exchange Full Administrator</li>
<li>Exchange Administrator</li>
<li>Exchange View Only Administrator</li>
</ul>
<p>Exchange 2007 administration groups consisted of:</p>
<ul>
<li>Exchange Organization Administrators</li>
<li>Exchange Recipient Administrators</li>
<li>Exchange View-Only Administrators</li>
<li>Exchange Public Folder Administrators (New in Exchange Server 2007 Service Pack 1)</li>
</ul>
<h3>Exchange 2010 Management/Permissions Overview</h3>
<p>Exchange 2010 provides a much more comprehensive method for allowing granular control over what users have control of what functions. This functionality is provided by a new Role Based Access Control (RBAC) authorization system.  The goal of this system is to provide an easy way to delegate and customize control by granting operations based on role or job function.  For example, you can provide your helpdesk certain abilities to perform the job functions they need in a more granular fashion.</p>
<p>The benefit of RBAC is obvious.  Many Exchange Administrators found themselves in situations where they needed to provide less privileged administrators additional privileges but did not want to add them into an administration group that gave too much control as this would not conform to principle of least privilege.  With RBAC, we can provide this less privileged administrator with the control they need without needing to place this administrator into a group that would provide this administrator with too many unneeded privileges.</p>
<p>The new RBAC model works in all Exchange Management applications; Exchange Management Console, Exchange Management Shell, and the new Exchange Control Panel (ECP). The ECP is a new Management Tool provided in Exchange 2010.  It&#8217;s a web based management console that is targeted towards the end user and administrators alike.  It&#8217;ll allow end users to do simple things such as modify their phone number, if allowed of course.</p>
<p>Because Exchange 2010 utilized PowerShell 2.0, Exchange now has the ability to take advantage of PowerShell Remoting which allows you to remotely manage your Exchange systems; if that didn&#8217;t already seem obvious by the name PowerShell Remoting.</p>
<h3>Role Based Access Control (RBAC)</h3>
<p>As stated, RBAC is the new authorization system that provides an easy way to delegate and customize control by granting operations based on role or job function.  With RBAC, there are for main important things to note:</p>
<ul>
<li>Management Role &#8211; Exchange Security Group that you create.  Help Desk Tier 1, Help Desk Tier 2, Admin Tier 1, Admin Tier 2, etc&#8230;</li>
<li>Management Role Entries &#8211; What each Management Role has access to.  What cmdlets can these Management Roles use?</li>
<li>Management Role Assignments &#8211; What Security Group and/or user is a Management Role assigned to?</li>
<li>Management Role Scopes &#8211; What target of users, OUs, servers, filtered objects, etc. do these management roles have access to adminster?</li>
</ul>
<p>As you can see, this system is really flexible and is definitely welcome. There&#8217;s already quite a bit out there on the Technet Library on how this all works, so instead of regurgitating it, I encourage you to go check it out <a href="http://technet.microsoft.com/en-us/library/dd298183(EXCHG.140).aspx">here</a>.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F17%2Fexchange-2010-permissions-and-security-groups%2F&amp;title=Exchange%202010%20Permissions%20and%20Security%20Groups&amp;bodytext=Exchange%202010%20most%20definitely%20brings%20in%20some%20new%20features%20to%20allow%20for%20a%20more%20intuitive%20and%20granular%20administrative%20experience%20in%20terms%20of%20how%20you%20allow%20and%2For%20disallow%20administration%20from%20a%20permissions%20perspective.%C2%A0%20But%20to%20understand%20why%20Exchange%202" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F17%2Fexchange-2010-permissions-and-security-groups%2F&amp;title=Exchange%202010%20Permissions%20and%20Security%20Groups" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F17%2Fexchange-2010-permissions-and-security-groups%2F&amp;title=Exchange%202010%20Permissions%20and%20Security%20Groups&amp;notes=Exchange%202010%20most%20definitely%20brings%20in%20some%20new%20features%20to%20allow%20for%20a%20more%20intuitive%20and%20granular%20administrative%20experience%20in%20terms%20of%20how%20you%20allow%20and%2For%20disallow%20administration%20from%20a%20permissions%20perspective.%C2%A0%20But%20to%20understand%20why%20Exchange%202" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F17%2Fexchange-2010-permissions-and-security-groups%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Exchange%202010%20Permissions%20and%20Security%20Groups&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F17%2Fexchange-2010-permissions-and-security-groups%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=1006&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=Wp_zcET37qw:hPpK6KsuznI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=Wp_zcET37qw:hPpK6KsuznI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=Wp_zcET37qw:hPpK6KsuznI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/Wp_zcET37qw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/04/17/exchange-2010-permissions-and-security-groups/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 New Features</title>
		<link>http://www.shudnow.net/2009/04/15/exchange-2010-new-features/</link>
		<comments>http://www.shudnow.net/2009/04/15/exchange-2010-new-features/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 16:50:06 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=993</guid>
		<description><![CDATA[Well, with a new version of Exchange obviously brings a new set of features.&#160; While there are a lot of new features, here are just some of the new features:

Database Availability Groups &#8211; Database Availability Groups combine CCR and SCR functionality to provide a single solution for both scenarios.&#160; What happens here is that you [...]]]></description>
			<content:encoded><![CDATA[<p>Well, with a new version of Exchange obviously brings a new set of features.&nbsp; While there are a lot of new features, here are just some of the new features:</p>
<ol>
<li><strong>Database Availability Groups</strong> &#8211; Database Availability Groups combine CCR and SCR functionality to provide a single solution for both scenarios.&nbsp; What happens here is that you install a DAG member and it behind the scenes installs Failover Clustering making the High Availability deployment more intuitive for the administrator.&nbsp; There was one scenario we ran into here where we had two source CCR Clusters wanting to replicate to the same target SCR Standby.&nbsp; The problem here is that when you recoverCMS on the SCR Standby, the replication fails with the other source CCR that was still working becuase the target SCR server can only ever have 1 CMS.&nbsp; DAGs fix that issue.</li>
<li><strong>Outlook Web Access Features</strong> &#8211; There are quite a few new features with OWA.&nbsp; Some features I really like are:
<ul>
<li>Side-by-side comparison of calendars</li>
<li>Ability to attach messages to messages</li>
<li>Integration with Communicator including presence, chat, and a contact list</li>
<li>Conversation View</li>
<li>Support for multiple browsers such as Firefox and Safari</li>
</ul>
</li>
<li>&nbsp;<strong>Unified Messaging Features</strong> &#8211; There are quite a few new features with UM.&nbsp; Some features I really like are:
<ul>
<li>Message Waiting Indicator</li>
<li>Voicemail Preview &#8211; This is essentially a speech to text that will display the text in your e-mail message to get a preview of what the voice mail includes</li>
<li>Personal auto attendants</li>
<li>Protected Voice Mail &#8211; Ability to track and restrict where voice mails can go</li>
</ul>
</li>
<li><strong>Store&nbsp;Functionality&nbsp;</strong> &#8211; There are a ton of new features for UM. &nbsp;Some important things to note:
<ul>
<li>No more Storage&nbsp;Groups</li>
<li>Mailboxes are no longer connected to the server object in which the schema has been flattened to allow for this</li>
<li>I/O Improvements including JBOD support and better support for SATA disks</li>
<li>Being able to run on cheap disks (SATA) and have a backupless organization by having multiple copies stored on DAG members.</li>
</ul>
</li>
<li><strong>Administration&nbsp;</strong> &#8211; There are a ton of additions/enhancements to administration. &nbsp;Some important things to note:
<ul>
<li>Role Based Access Control (RBAC) &#8211; Allows you to create granular permissions on custom groups that you create. This essentially replaces the administration model in Exchange 2007.&nbsp; For example, if you want a help desk group that has access to specific pieces of functionality within Exchange, you can do so.</li>
<li>Exchange Control Panel &#8211; Ties into RBAC and shows/hides features you are not given access to.</li>
<li>Audit Logging</li>
</ul>
</li>
<li><strong>Other</strong>
<ul>
<li>Multi-Mailbox Search</li>
<li>Text&nbsp;Messaging Integration (SMS)</li>
<li>Moderation and approval of distribution group submissions</li>
<li>Mail Tips &#8211; Will notify an Outlook user of an impeding error before it happens so the user doesn&#8217;t get a confusing NDR. &nbsp;For example, if your message size limit is 10MB and the user tries sending a 15MB message, Outlook will notify the user before the user tries to send out the e-mail saving Exchange resources and making the failure experience more intuitive for the end user.</li>
</ul>
</li>
</ol>
<p>There&#8217;s definitely quite a bit more in which you can start reading <a href="http://technet.microsoft.com/en-us/library/bb124558(EXCHG.140).aspx">here</a>.&nbsp; I&#8217;ll mostly update this post here and there so be sure to check back.&nbsp; You can definitely expect me to start creating new content around Exchange 2010 in the near future.</p>
<p>&nbsp;</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-new-features%2F&amp;title=Exchange%202010%20New%20Features&amp;bodytext=Well%2C%20with%20a%20new%20version%20of%20Exchange%20obviously%20brings%20a%20new%20set%20of%20features.%26nbsp%3B%20While%20there%20are%20a%20lot%20of%20new%20features%2C%20here%20are%20just%20some%20of%20the%20new%20features%3A%0D%0A%0D%0A%20%20%20%20Database%20Availability%20Groups%20-%20Database%20Availability%20Groups%20combine%20CCR%20and%20SCR%20f" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-new-features%2F&amp;title=Exchange%202010%20New%20Features" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-new-features%2F&amp;title=Exchange%202010%20New%20Features&amp;notes=Well%2C%20with%20a%20new%20version%20of%20Exchange%20obviously%20brings%20a%20new%20set%20of%20features.%26nbsp%3B%20While%20there%20are%20a%20lot%20of%20new%20features%2C%20here%20are%20just%20some%20of%20the%20new%20features%3A%0D%0A%0D%0A%20%20%20%20Database%20Availability%20Groups%20-%20Database%20Availability%20Groups%20combine%20CCR%20and%20SCR%20f" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-new-features%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Exchange%202010%20New%20Features&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-new-features%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=993&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=tLQ_-rFDf3I:fzMOa_B5d20:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=tLQ_-rFDf3I:fzMOa_B5d20:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=tLQ_-rFDf3I:fzMOa_B5d20:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/tLQ_-rFDf3I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/04/15/exchange-2010-new-features/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Announced!</title>
		<link>http://www.shudnow.net/2009/04/15/exchange-2010-announced/</link>
		<comments>http://www.shudnow.net/2009/04/15/exchange-2010-announced/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 15:20:59 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=990</guid>
		<description><![CDATA[So Exchange 2010 has finally been announced!  You can check out the MSExchangeTeam Blog Post here.  Be expecting some upcoming E14 posts.  You can download the beta here.




	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>So Exchange 2010 has finally been announced!  You can check out the MSExchangeTeam Blog Post <a href="http://msexchangeteam.com/archive/2009/04/14/451032.aspx">here</a>.  Be expecting some upcoming E14 posts.  You can download the beta <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=1898ed2c-2f88-48ac-824e-d3d20fad77d7">here</a>.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-announced%2F&amp;title=Exchange%202010%20Announced%21&amp;bodytext=So%20Exchange%202010%20has%20finally%20been%20announced%21%C2%A0%20You%20can%20check%20out%20the%20MSExchangeTeam%20Blog%20Post%20here.%C2%A0%20Be%20expecting%20some%20upcoming%20E14%20posts.%C2%A0%20You%20can%20download%20the%20beta%20here." title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-announced%2F&amp;title=Exchange%202010%20Announced%21" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-announced%2F&amp;title=Exchange%202010%20Announced%21&amp;notes=So%20Exchange%202010%20has%20finally%20been%20announced%21%C2%A0%20You%20can%20check%20out%20the%20MSExchangeTeam%20Blog%20Post%20here.%C2%A0%20Be%20expecting%20some%20upcoming%20E14%20posts.%C2%A0%20You%20can%20download%20the%20beta%20here." title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-announced%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Exchange%202010%20Announced%21&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F04%2F15%2Fexchange-2010-announced%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=990&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=qaYH-wzxS5M:LnGDy-np1CE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=qaYH-wzxS5M:LnGDy-np1CE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=qaYH-wzxS5M:LnGDy-np1CE:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/qaYH-wzxS5M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/04/15/exchange-2010-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office Communications Server 2007 R2 Group Chat Deployment – Part 2</title>
		<link>http://www.shudnow.net/2009/03/18/office-communications-server-2007-r2-group-chat-deployment-part-2/</link>
		<comments>http://www.shudnow.net/2009/03/18/office-communications-server-2007-r2-group-chat-deployment-part-2/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 03:42:05 +0000</pubDate>
		<dc:creator>Elan Shudnow</dc:creator>
				<category><![CDATA[OCS]]></category>

		<guid isPermaLink="false">http://www.shudnow.net/?p=942</guid>
		<description><![CDATA[Welcome to Part 2 of this article series. In Part 1, we started off by preparing our servers in preparation for OCS Group Chat Installation. We created our services, created our SQL Database, and assigned permissions.
In this Part, I will go over the installation of our Group Chat Server and Administrative Tools.
Part 1
Part 2
Group Chat [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Part 2 of this article series. In Part 1, we started off by preparing our servers in preparation for OCS Group Chat Installation. We created our services, created our SQL Database, and assigned permissions.</p>
<p>In this Part, I will go over the installation of our Group Chat Server and Administrative Tools.</p>
<p><a href="http://www.shudnow.net/2009/03/08/office-communications-server-2007-r2-group-chat-deployment-part-1/">Part 1</a></p>
<p>Part 2</p>
<h3><span style="text-decoration: underline;">Group Chat OCS 2007 R2 Server Installation</span></h3>
<p>When installing OCS R2 Group Chat  and running the setup executable, you will be asked to install several pieces of software to prepare the environment.</p>
<p>You will be asked to install the Microsoft Visual C++ 2008 Redistributable. Click <strong>Yes</strong> to <strong>Continue</strong>.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSR2Enterprise_02.jpg" alt="" width="390" height="138" /></p>
<p>You will then be asked to install the Microsoft .NET Framework 3.5. Click <strong>Yes</strong> to <strong>Continue</strong>.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSR2Enterprise_03.jpg" alt="" width="410" height="139" /></p>
<p>You will then be asked to install the Microsoft Unified Communications Managed API 2.0 Core Redist 64-bit version.  Click <strong>Yes</strong> to <strong>Continue</strong>.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC01.jpg" alt="" width="412" height="163" /></p>
<p>Once Microsoft Unified Communications Managed API 2.0 , you will be presented with the Welcome screen which will begin the installation process.  Click <strong>Next</strong> to <strong>Continue</strong>.</p>
<p>The next screen is the licensing screen.  Make sure you fully read the entire agreement!  Once you have done so (and I know you will, right?) Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p>Enter your Username and Company information. Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p>Enter the installation path you want the binaries installed to. Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p>When the feature screen appears, you have 2 choices which are both selected at the same time.  Keep in mind, that you must disable one of the options.  You cannot have both the Chat Server and the Compliance Server collocated on the same box.  Make sure the Chat Server is selected and the Compliance Server is not selected.  We will be installing the Compliance Service in the next Part.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><strong><img class="alignnone" src="http://www.shudnow.net/images/OCSGC02.jpg" alt="" width="535" height="423" /></strong></p>
<p>Confirm your installation.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p>Installation is ready to proceed.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><strong><img class="alignnone" src="http://www.shudnow.net/images/OCSGC04.jpg" alt="" width="537" height="424" /></strong></p>
<p>During the installation, you will see the Server Configuration wizard appear.  Because we chose the Chat Server to be installed, you will see three Server/Service roles being installed:</p>
<ul>
<li>Lookup Server</li>
<li>Channel Server</li>
<li>Web Service</li>
</ul>
<p>Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC05.jpg" alt="" width="627" height="389" /></p>
<p>We now want to specify what SQL Instance we want to use.  One thing to keep in mind is to take a look at the collocation technet article to see how databases can be collocated on the same SQL box.  You can find this article <a href="http://technet.microsoft.com/en-us/library/dd425201(office.13).aspx">here</a>.  You can see the following databases can be on the same SQL Box:</p>
<ul>
<li>Archiving database</li>
<li>Monitoring database</li>
<li>Group Chat database</li>
<li>Compliance database (for Group Chat)</li>
</ul>
<p>One thing to keep in mind here, is that for each database, it requires its own instance.  In the case of Group Chat database and the Compliance Database, the Compliance Database can be a dedicated database or it can be the same database as the Group Chat database.  In Part 2, we will be using the Group Chat database as the Compliance database.</p>
<p>As you may recall from the OCS R2 Enterprise article series <a href="http://www.shudnow.net/2009/01/05/office-communications-server-2007-r2-enterprise-deployment-part-1/">here</a>, we&#8217;re using a SQL 2008 x64 Back End.  Make sure port 1433 is allowed inbound.  Instructions on how to do this are documented in that article series.</p>
<p>Specify your Server\Instance and Database.  As stated, I&#8217;m just using the default instance for everything since it&#8217;s a lab.  Specify your settings accordingly.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC06.jpg" alt="" width="630" height="390" /></p>
<p>The next screen will just notify you that your databases are empty and that it will create the schema information.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p>We will want to specify a Super User.  It&#8217;s pretty obvious what this user is.  It&#8217;s essentially the Administrator account in AD.  The first time you create AD, you will log in with the Administrator account and start creating other Administrator accounts from there.  The Super User is the same thing.  Because this is a lab, I am using the Administrator account to manage everything.  So in the User name field, I specified my Administrator account and clicked Add. Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><strong><img class="alignnone" src="http://www.shudnow.net/images/OCSGC14.jpg" alt="" width="630" height="391" /></strong></p>
<p>Specify the name of your pool and the MTLS Certificate that will be used by your Group Chat Server.  You will need to create this certificate beforehand by using LCSCMD, CertSRV website for an internal CA, or using the OCS Administrative Tools.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC15.jpg" alt="" width="630" height="478" /></p>
<p>Remember I said the Lookup Service is the one service that will be utilized across all Group Chat Servers and that it also needs to be SIP Enabled?  Well now is the time to enter in the Lookup Service credentials and SIP information. Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC16.jpg" alt="" width="629" height="391" /></p>
<p>Do the same for your Channel Service. Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC17.jpg" alt="" width="634" height="391" /></p>
<p>On the next screen, we&#8217;ll be asked for our Compliance settings.  Because this is the first Group Chat Server and we have not yet deployed our Compliance Server, we&#8217;ll leave these settings blank and re-visit the configuration later.  Click <strong>Next</strong> to <strong>Continue.</strong></p>
<p>Specify the  directory that will be used for uploads to the Web Service.  You will want to use a UNC path, especially if you&#8217;re using multiple Group Chat Servers.  I created a shared folder called WebService.  You will need to ensure your Channel Service has read/write to this share (both Share and NTFS permissions.) Click <strong>Next</strong> to <strong>Continue. </strong></p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC18.jpg" alt="" width="631" height="391" /></p>
<p>Review your settings. Click <strong>Finish</strong> to <strong>Continue. </strong>When finished installing, Click <strong>Close</strong>.</p>
<p>You will want to ensure that Anonymous Authentication is enabled in IIS on your MGCWebService directory in your Default Web Site.  After doing so, you will want to use your Channel Service account as the credentials used for Anonymous Authentication.  It doesn&#8217;t have to be the Channel Account, but just an account that has RTCComponentUniversalServices permissions because the account needs to access the file repository and Message Queuing.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC19.jpg" alt="" width="560" height="459" /></p>
<h3><span style="text-decoration: underline;">Group Chat OCS 2007 R2 Administrative Tools</span></h3>
<p>As most of the other client and administrative tools installations, I won&#8217;t go over the installation procedures as they&#8217;refairly straightforward.  So go ahead and install the Administrative Console.  I have installed it on our SHUD-PG1 Server which is the server we installed the Group Chat Server on.</p>
<p>Once installed, go to <strong>Start </strong>&gt; <strong>Programs</strong> &gt; <strong>Microsoft Office Communications Server R2</strong> &gt; <strong>Microsoft Office Communications Server R2, Group Chat Administration Tool </strong></p>
<p>Once you open it, Group Chat Administration will always be set to do an Automatic Logon and use the existing signed on account.</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC20.jpg" alt="" width="440" height="259" /></p>
<p>You may have trouble getting this part to work properly.  This is my 2nd time installing and getting Group Chat to work so I&#8217;ve went through the pain to get everything to work properly and seamlessly off the bat.  The trick is, during Group Chat installation, you gave it a super user.  You&#8217;ll want this to be your Administrator account you&#8217;re using to install Group Chat and the system that you will be loading the Administration Tool.  Only a super user can load up the Administrative Tool.  So if you set your Administrator account that you log onto which is also SIP enabled as the Super User, and are logged onto that account when loading up Administrative Tool, everything will just work.</p>
<p>If Automatic Configuration does not work, you can set the Account to Manual Configuration and manually configure the account to use for log-on, DC to use, etc&#8230;</p>
<p><img class="alignnone" src="http://www.shudnow.net/images/OCSGC21.jpg" alt="" width="712" height="505" /></p>
<p>You can now create new Chat Rooms on the left, add new Super Users, Chat Room Managers, etc..</p>
<h3><span style="text-decoration: underline;">Summary</span></h3>
<p>Well folks, that is all for Part 2 of this article as well as the 2 part article series.  Hopefully it helps you plan and deploy Group Chat.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F03%2F18%2Foffice-communications-server-2007-r2-group-chat-deployment-part-2%2F&amp;title=Office%20Communications%20Server%202007%20R2%20Group%20Chat%20Deployment%20-%20Part%202&amp;bodytext=Welcome%20to%20Part%202%20of%20this%20article%20series.%20In%20Part%201%2C%20we%20started%20off%20by%20preparing%20our%20servers%20in%20preparation%20for%20OCS%20Group%20Chat%20Installation.%20We%20created%20our%20services%2C%20created%20our%20SQL%20Database%2C%20and%20assigned%20permissions.%0D%0A%0D%0AIn%20this%20Part%2C%20I%20will%20go%20over%20" title="Digg"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F03%2F18%2Foffice-communications-server-2007-r2-group-chat-deployment-part-2%2F&amp;title=Office%20Communications%20Server%202007%20R2%20Group%20Chat%20Deployment%20-%20Part%202" title="StumbleUpon"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.shudnow.net%2F2009%2F03%2F18%2Foffice-communications-server-2007-r2-group-chat-deployment-part-2%2F&amp;title=Office%20Communications%20Server%202007%20R2%20Group%20Chat%20Deployment%20-%20Part%202&amp;notes=Welcome%20to%20Part%202%20of%20this%20article%20series.%20In%20Part%201%2C%20we%20started%20off%20by%20preparing%20our%20servers%20in%20preparation%20for%20OCS%20Group%20Chat%20Installation.%20We%20created%20our%20services%2C%20created%20our%20SQL%20Database%2C%20and%20assigned%20permissions.%0D%0A%0D%0AIn%20this%20Part%2C%20I%20will%20go%20over%20" title="del.icio.us"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.shudnow.net%2F2009%2F03%2F18%2Foffice-communications-server-2007-r2-group-chat-deployment-part-2%2F" title="Technorati"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=Office%20Communications%20Server%202007%20R2%20Group%20Chat%20Deployment%20-%20Part%202&amp;u=http%3A%2F%2Fwww.shudnow.net%2F2009%2F03%2F18%2Foffice-communications-server-2007-r2-group-chat-deployment-part-2%2F" title="Fark"><img src="http://www.shudnow.net/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>


<br/><br/><img src="http://www.shudnow.net/?ak_action=api_record_view&id=942&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.shudnow.net/~ff/eshudnow?a=Ezv31CCFff4:s0Pn3SdWOxM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/eshudnow?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.shudnow.net/~ff/eshudnow?a=Ezv31CCFff4:s0Pn3SdWOxM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/eshudnow?i=Ezv31CCFff4:s0Pn3SdWOxM:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/eshudnow/~4/Ezv31CCFff4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shudnow.net/2009/03/18/office-communications-server-2007-r2-group-chat-deployment-part-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
