<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tidbit on the Bits</title>
	<atom:link href="http://shannonbray.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shannonbray.wordpress.com</link>
	<description>Investigating How SharePoint Works</description>
	<lastBuildDate>Tue, 24 Jan 2012 21:52:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shannonbray.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/49e91a5deacdff6a7d650ead0ab7f8c9?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Tidbit on the Bits</title>
		<link>http://shannonbray.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shannonbray.wordpress.com/osd.xml" title="Tidbit on the Bits" />
	<atom:link rel='hub' href='http://shannonbray.wordpress.com/?pushpress=hub'/>
		<item>
		<title>2011 in review</title>
		<link>http://shannonbray.wordpress.com/2011/12/31/2011-in-review/</link>
		<comments>http://shannonbray.wordpress.com/2011/12/31/2011-in-review/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 01:03:10 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/?p=915</guid>
		<description><![CDATA[The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog. Here&#8217;s an excerpt: The concert hall at the Syndey Opera House holds 2,700 people. This blog was viewed about 55,000 times in 2011. If it were a concert at Sydney Opera House, it would take about 20 sold-out performances for that many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=915&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.</p>
<div style="background:url('/wp-content/mu-plugins/annual-reports/img/emailteaser.jpg') no-repeat center center;height:300px;"></div>
<p>Here&#8217;s an excerpt:</p>
</p>
<blockquote><p>The concert hall at the Syndey Opera House holds 2,700 people.  This blog was viewed about <strong>55,000</strong> times in 2011.  If it were a concert at Sydney Opera House, it would take about 20 sold-out performances for that many people to see it.</p></blockquote>
<p><a href="/2011/annual-report/">Click here to see the complete report.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/915/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=915&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2011/12/31/2011-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>
	</item>
		<item>
		<title>Now on TechNet &#8230;</title>
		<link>http://shannonbray.wordpress.com/2011/11/24/now-on-technet/</link>
		<comments>http://shannonbray.wordpress.com/2011/11/24/now-on-technet/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 16:07:19 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Published Articles]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/?p=906</guid>
		<description><![CDATA[It is always exciting to me to see my work published on official sites like TechNet. Over the past few months, a chapter from the book I co-authored with Gary Lapointe has been posted and one of the presentations I gave at TechED 2011. I am currently working on a couple others and will update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=906&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is always exciting to me to see my work published on official sites like TechNet. Over the past few months, a chapter from the book I co-authored with Gary Lapointe has been posted and one of the presentations I gave at TechED 2011.  I am currently working on a couple others and will update this as they are completed.</p>
<p><a href="http://technet.microsoft.com/en-us/library/hh393957.aspx" title="Chapter 20: Multi-Tenancy" target="_blank">Chapter 20: Multi-Tenancy</a> (Written by Gary)</p>
<p><a href="http://technet.microsoft.com/en-us/magazine/hh528474.aspx" title="Cross-Farm Services" target="_blank">Cross-Farm Services</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/906/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=906&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2011/11/24/now-on-technet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>
	</item>
		<item>
		<title>My SharePoint Conference 2011 Sessions</title>
		<link>http://shannonbray.wordpress.com/2011/10/19/my-sharepoint-conference-2011-sessions/</link>
		<comments>http://shannonbray.wordpress.com/2011/10/19/my-sharepoint-conference-2011-sessions/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 00:17:11 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/2011/10/19/my-sharepoint-conference-2011-sessions/</guid>
		<description><![CDATA[We have just recently put another SharePoint Conference behind us. Like many of you, I made the trip out to Anaheim, CA. This was my first SharePoint conference and I was fortunate to have been selected to deliver two sessions: SPC367: Managing LOB Data with BCS &#38; SharePoint Search SPC385: Service Application Federation with SharePoint [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=859&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have just recently put another SharePoint Conference behind us. Like many of you, I made the trip out to Anaheim, CA. This was my first SharePoint conference and I was fortunate to have been selected to deliver two sessions:
</p>
<p><span style="color:black;">SPC367: Managing LOB Data with BCS &amp; SharePoint Search<br />
</span></p>
<p><span style="color:black;">SPC385: Service Application Federation with SharePoint 2010<br />
</span></p>
<p>
 </p>
<p><span style="color:black;">Most of my demos are typically done on my 16 GB laptop, but after the demo gods frowned on me at SharePoint Saturday the Conference in Washington DC, I knew I needed to change the way I demoed my sessions. I ended up taking my sessions to the cloud.  I ended up trusting both of my sessions to <em>Rackspace</em> and came armed with a 4G wireless internet adapter just in case the Convention Center lost my internet. My first session was delivered right after the Keynote and had over 700 people in it. The session required 3 servers:<br />
</span></p>
<p>
 </p>
<ul>
<li><span style="color:black;">SPC-AD – 4 GB, hosted Active Directory<br />
</span></li>
<li><span style="color:black;">SPC-SQL – 8 GB, hosted SQL Server 2008 R2 and SharePoint Designer<br />
</span></li>
<li><span style="color:black;">SPC-Services – 8 GB, hosted SharePoint 2010<br />
</span></li>
</ul>
<p>
 </p>
<p><span style="color:black;">During this session, I created an External Content Type using SharePoint Designer 2010 and provisioned BCS, Enterprise Search, and Secure Store. The goal of the demos was to take data from an SQL Database (AdventureWorks) and surface it in Search results. While the demo wasn&#8217;t as smooth as I would have hoped, it was ultimately successful and my evaluations were great!<br />
</span></p>
<p>
 </p>
<p style="text-align:center;"><img src="http://shannonbray.files.wordpress.com/2011/10/102011_0016_mysharepoin1.jpg?w=600" alt="" /><span style="color:black;"><br />
		</span></p>
<p>
 </p>
<p>
 </p>
<p><span style="color:black;">My second session required a little more horsepower:<br />
</span></p>
<p>
 </p>
<ul>
<li><span style="color:black;">SPC-AD – 4 GB, hosted Active Directory<br />
</span></li>
<li><span style="color:black;">SPC-SQL – 8 GB, hosted SQL Server 2008 R2 and SharePoint Designer<br />
</span></li>
<li><span style="color:black;">SPC-Services – 8 GB, hosted SharePoint 2010 (Publishing Farm)<br />
</span></li>
<li><span style="color:black;">SPC-SP – 8 GB, hosted SharePoint 2010 (Consumer Farm)<br />
</span></li>
</ul>
<p>
 </p>
<p>During this session, I created two SharePoint Farms from scratch. There were no service accounts or SharePoint databases.  I used PowerShell to create the farms, the accounts, and all of the services that can be federated:
</p>
<ul>
<li>Managed Metadata
</li>
<li>Web Analytics
</li>
<li>Business Connectivity Services
</li>
<li>Enterprise Search
</li>
<li>Secure Store
</li>
<li>User Profile Application with Sync
</li>
</ul>
<p>I needed peak performance or I was going to suffer a catastrophic demo.  Fortunately for me and the attendees who came to my session, <em>Rackspace</em> delivered again. The demo went perfect and my session made the top 20 of the entire show.  It was a great conference!
</p>
<p>I have found that Rackspace offers a stable service and I basically just bet my future speaking engagements on it. Thank you Rackspace!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/859/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=859&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2011/10/19/my-sharepoint-conference-2011-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>

		<media:content url="http://shannonbray.files.wordpress.com/2011/10/102011_0016_mysharepoin1.jpg" medium="image" />
	</item>
		<item>
		<title>Automating SharePoint 2010</title>
		<link>http://shannonbray.wordpress.com/2011/06/01/automating-sharepoint-2010/</link>
		<comments>http://shannonbray.wordpress.com/2011/06/01/automating-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 01:02:58 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Configuring]]></category>
		<category><![CDATA[Installing]]></category>
		<category><![CDATA[Managing]]></category>
		<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://sppowershell.com/?p=147</guid>
		<description><![CDATA[After a long break from blogging,  Automating SharePoint 2010 with Windows PowerShell 2.0 is now complete and is scheduled to hit your local bookstore on June 28th, 2011. Back Cover &#8230; With SharePoint 2010&#8242;s PowerShell cmdlets, you can automate or manipulate almost every aspect of the SharePoint platform. Learn how to take full advantage of all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=876&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a long break from blogging,  <a title="Automating SharePoint 2010 with Windows PowerShell 2.0" href="http://www.amazon.com/Automating-SharePoint-2010-Windows-PowerShell/dp/0470939206" target="_blank">Automating SharePoint 2010 with Windows PowerShell 2.0</a> is now complete and is scheduled to hit your local bookstore on June 28th, 2011.</p>
<p>Back Cover &#8230;</p>
<p>With SharePoint 2010&#8242;s PowerShell cmdlets, you can automate or manipulate almost every aspect of the SharePoint platform. Learn how to take full advantage of all this timesaving technology with the tips and techniques in this practical guide. Packed with step-by-step instructions, real-world examples, and best practice recommendations, this book gets you thoroughly up to speed on Windows PowerShell 2.0 features and SharePoint&#8217;s PowerShell implementation, saving you time and effort on tasks you do every day. Coverage includes:</p>
<ul>
<li>Understanding what you need to know about Windows PowerShell syntax, structure, and usage</li>
<li>How to automate every aspect of a SharePoint 2010 installation, upgrade, and deployment</li>
<li>Managing Web Applications, Site Collections, security, and Solution Packages</li>
<li>How to automatically provision and configure virtually every Service Application</li>
<li>Backing up, restoring, and optimizing the performance of your SharePoint environment</li>
<li>Advanced topics such as remote administration and multi-tenancy</li>
<li>Creating custom cmdlets, type extensions, and views to make you even more productive (available as downloadable PDF)</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/876/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=876&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2011/06/01/automating-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring Cross-Farm Services in SharePoint 2010</title>
		<link>http://shannonbray.wordpress.com/2011/06/01/configuring-cross-farm-services-in-sharepoint-2010/</link>
		<comments>http://shannonbray.wordpress.com/2011/06/01/configuring-cross-farm-services-in-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 00:40:16 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/?p=847</guid>
		<description><![CDATA[Microsoft has made a number of investments in how SharePoint provides and consumes services. In SharePoint 2010, we had a number of services available to us in what was known as the Shared Service Provider (SSP). While the SSP was a great step forward from what we had in SharePoint 2003, it did offer several [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=847&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft has made a number of investments in how SharePoint provides and consumes services. In SharePoint 2010, we had a number of services available to us in what was known as the Shared Service Provider (SSP). While the SSP was a great step forward from what we had in SharePoint 2003, it did offer several challenges. The primary issue with the 2007 architecture was that it was an all or nothing sort of configuration. Web apps were tied to a specific SSP and could not consume services in a selective manner. If the SSP had both Search and Excel Service configured, any SharePoint Web application that consumed Enterprise Search, also had access to Excel Services. The SSP architecture wasn’t extensible either, meaning that we couldn’t create our own services using the same SSP infrastructure. Finally, and most importantly, at least for the sake of this topic, configuring services cross-farm in SharePoint 2007 was difficult.</p>
<p>The new SharePoint 2010 Service Architecture has addressed all of these issues.</p>
<p>To make sure that the information provided is useful to everyone, we will start with the Service Application architecture and build our way up to the cross-farm or Federated Services available to us in SharePoint 2010.</p>
<p>To download the entire whitepaper, check out <a href="http://www.cospug.com/Sessions/Configuring%20Cross.pdf">Federated Services</a> .</p>
<p>Download the <a href="http://www.cospug.com/Sessions/Cross-Farm%20Services%20Scripts.zip">PowerShell Scripts</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/847/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=847&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2011/06/01/configuring-cross-farm-services-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>
	</item>
		<item>
		<title>Claims Based Authentication: Made Simple &#8211; Part 2</title>
		<link>http://shannonbray.wordpress.com/2010/10/03/claims-based-authentication-made-simple-part-2/</link>
		<comments>http://shannonbray.wordpress.com/2010/10/03/claims-based-authentication-made-simple-part-2/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 21:45:59 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/2010/10/03/claims-based-authentication-made-simple-part-2/</guid>
		<description><![CDATA[  We will now expand on what we covered in Part 1 by connecting two farms together via ADFS 2.0. Both of the farms that will be referenced in this article were built using the same steps of Part 1. While it is not critical that you have both farms configured this way, it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=840&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>We will now expand on what we covered in <a href="http://shannonbray.wordpress.com/2010/10/02/claims-based-authentication-made-simple/">Part 1</a> by connecting two farms together via ADFS 2.0. Both of the farms that will be referenced in this article were built using the same steps of Part 1. While it is not critical that you have both farms configured this way, it is strongly encouraged.</p>
<p>For the sake of this demonstration, one of these environments will be the internal farm (LABS); the other will be a partnering company (Contoso). The configuration of the external farm will be very similar to what we have done already. The internal farm (LABS) is where we will begin to focus our efforts.</p>
<p style="text-align:center;"><img src="http://shannonbray.files.wordpress.com/2010/10/100310_2145_claimsbased1.png?w=600" alt="" /></p>
<p> </p>
<h2>Verify Intra-Server Communications</h2>
<p>You can configure SharePoint to trust an external farm the same way as we trusted our internal farm. This configuration will build the trust between the two ADFS 2.0 servers; therefore, eliminating any configurations on our SharePoint 2010 Server. Before you spend any time actually configuring these steps, verify that all of your servers can communicate. I recommend trying the following:</p>
<p>    From Contoso-ADFS, Ping Labs-ADFS.Labs.com</p>
<p>    From Labs-ADFS, Ping Contoso-ADFS.Labs.com</p>
<p>You may need to configure conditional forwarding in DNS to ensure your servers can communicate correctly. If they cannot, your attempts will not be successful.</p>
<h2>Configure the External AD FS 2.0 Server</h2>
<p>The role of the external AD FS 2.0 server will be played by the Contoso farm. This farm will provide a cast of characters (Mighty Mouse and Mickey Mouse) that will need access to the Labs SharePoint environment. We can do this in a number of ways. The first is to configure SharePoint to trust this external AD FS configuration, much like we did in the first post. Another way is to set up a trust between the AD FS 2.0 server inside LABS.com with the AD FS 2.0 server inside Contoso.com.</p>
<p>The configuration portion of the external AD FS 2.0 server will start under the &#8216;Trust Relationships&#8217; node inside the AD FS 2.0 Management console. The users that we need to provide to Labs.com reside inside Active Directory, so there shouldn&#8217;t be anything to do for the &#8216;Claims Provider Trusts&#8217;.</p>
<p>The Relying Party Trusts (RP) is the destination of the augmented claim. Because we are setting up an AD FS 2.0 to AD FS 2.0 configuration, our new RP will point towards the AD FS 2.0 server inside Labs.com and not the SharePoint site. If you built your Contoso farm similar to the first post, you will end up with two RPs once everything is configured. Start the wizard to add a RP.</p>
<h3>Select Data Source</h3>
<p>Enter data about the relying party manually</p>
<h3>Specify Display Name</h3>
<p>LABS AD FS 2.0</p>
<h3>Choose Profile</h3>
<p>AD FS 2.0 profile</p>
<h3>Configure URL</h3>
<p>Enable support for the WS-Federation Passive protocol</p>
<p>https://labs-adfs.labs.com/adfs/ls/</p>
<h3>Configure Identifiers</h3>
<p>Remove &#8216;https://labs-adfs.labs.com/adfs/ls/&#8217;</p>
<p>Add &#8216;http://labs-adfs.labs.com/adfs/services/trust&#8217;</p>
<h3>Choose Issuance Authorization Rules</h3>
<p>Permit all users to access this relying party</p>
<h3>Finish</h3>
<p>Check Open the Edit Claim Rules…</p>
<h3>Choose Rule Type</h3>
<p>Send LDAP Attributes as Claims</p>
<h3>Configure Claim Rules</h3>
<p>Rule Name: LDAP-Email</p>
<p>Attribute Store: Active Directory</p>
<p>Mapping: E-mail-Address to E-Mail Address</p>
<h2>Configure the Internal AD FS 2.0 Server</h2>
<h3>Select Data Source</h3>
<p>Enter claims provider trust data manually</p>
<h3>Specify Display Name</h3>
<p>Contoso ADFS Server</p>
<h3>Choose Profile</h3>
<p>AD FS 2.0 profile</p>
<h3>Configure URL</h3>
<p>Check &#8216;Enable support for the WS-Federation Passive protocol&#8217;</p>
<p>Url: https://contoso-adfs.contoso.com/adfs/ls/</p>
<h3>Configure Identifier</h3>
<p>http://contoso-adfs.contoso.com/adfs/services/trust</p>
<h3>Configure Certificates</h3>
<p>Add the ADFS Signing &#8211; Contoso-ADFS.contoso.com certificate from the Contoso AD FS Certificate Store (adfssts.contoso.com)</p>
<h3>Finish</h3>
<p>Ensure Check for &#8216;Open the Edit Claim Rules …&#8221;</p>
<h3>Add Rule</h3>
<p>Click the &#8216;Add Rule&#8217; button</p>
<h3>Choose Rule Type</h3>
<p>Pass Through or Filter an Incoming Claim</p>
<h3>Configure Claim Rule</h3>
<p>Name: Pass-Through LDAP-Email</p>
<p>Incoming claim type: E-Mail Address</p>
<h3>Add Rule</h3>
<p>Click the &#8216;Add Rule&#8217; button</p>
<h3>Choose Rule Type</h3>
<p>Send LDAP Attributes as Claims</p>
<h3>Configure Claim Rule</h3>
<p>Claim rule name: LDAP-Email</p>
<p>Attribute Store: Active Directory</p>
<p>Mapping: E-Mail-Addresses -&gt; E-Mail Address</p>
<h3>Relying Party Trusts</h3>
<p>Select the RP for SharePoint and click &#8216;Edit Claim Rules…&#8217;</p>
<p>Click &#8216;Add Rule&#8217;</p>
<h3>Choose Rule Type</h3>
<p>Pass Through or Filter an Incoming Claim</p>
<h3>Configure Claim Rule</h3>
<p>Claim rule name: Pass-Through LDAP-Email</p>
<p>Incoming claim type: E-Mail Address</p>
<p>Pass through all claim values</p>
<h3>Contoso ADFS Certificates</h3>
<p><img src="http://shannonbray.files.wordpress.com/2010/10/100310_2145_claimsbased2.png?w=600" alt="" /><span style="color:#17365d;font-size:13pt;"><strong><br />
</strong></span></p>
<h3>Browse LABS site with Contoso User</h3>
<p> </p>
<p><img src="http://shannonbray.files.wordpress.com/2010/10/100310_2145_claimsbased3.png?w=600" alt="" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/840/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=840&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2010/10/03/claims-based-authentication-made-simple-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>

		<media:content url="http://shannonbray.files.wordpress.com/2010/10/100310_2145_claimsbased1.png" medium="image" />

		<media:content url="http://shannonbray.files.wordpress.com/2010/10/100310_2145_claimsbased2.png" medium="image" />

		<media:content url="http://shannonbray.files.wordpress.com/2010/10/100310_2145_claimsbased3.png" medium="image" />
	</item>
		<item>
		<title>Claims Based Authentication: Made Simple</title>
		<link>http://shannonbray.wordpress.com/2010/10/02/claims-based-authentication-made-simple/</link>
		<comments>http://shannonbray.wordpress.com/2010/10/02/claims-based-authentication-made-simple/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 20:56:41 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/2010/10/02/claims-based-authentication-made-simple/</guid>
		<description><![CDATA[  In less than 9 days, I will be attending Rotation 6 of the SharePoint Microsoft Certified Master&#8217;s program. I built this post as a &#8220;cheat sheet&#8221; to help me remember some of the key areas on claims configuration. This post is in multi parts. Part one is a guided step through on configuring CBA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=832&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin-left:36pt;"> </p>
<p style="margin-left:36pt;">In less than 9 days, I will be attending Rotation 6 of the SharePoint Microsoft Certified Master&#8217;s program. I built this post as a &#8220;cheat sheet&#8221; to help me remember some of the key areas on claims configuration. This post is in multi parts. Part one is a guided step through on configuring CBA inside your farm. Part two will add an external farm&#8217;s ADFS server to the rotation.</p>
<p style="margin-left:36pt;"> </p>
<p style="margin-left:36pt;">My lab environment is broken down into three farms. For the purpose of this article, only two are necessary. Both of these farms are consuming services from another farm, but that is an entirely different story. Here, we will focus on getting Kerberos up and running and then setting up CBA.</p>
<p style="margin-left:36pt;"> </p>
<p style="margin-left:36pt;">Many of the blog posts that I have seen are great as far as setting up the ADFS wizards or giving you the PowerShell scripts you need to get Claims working, but those solutions only appear to work on a single server. Each farm has three servers: Domain Controller, SharePoint and SQL, and an ADFS 2.0 server. I have combined the SQL and SharePoint 2010 server together only because of the lack of resources. My lap top has 16 gigs of RAM and I have 3 farms running at all times. By combining SQL Server 2008 R2 and SharePoint 2010, I put my most resource intensive servers together and give them 3.5 Gigs of RAM. The other two servers are starved down to 512 K. This seems to work great for tinkering and testing to see how things work.</p>
<p style="margin-left:36pt;"> </p>
<p style="margin-left:36pt;">I have included the server names along with their IPs. While it is not important that your environment be set up exactly like mine, I would encourage you to stick to the script as much as possible for your first or second run. I have gone through these steps three times to ensure that you will have success in implementing your environment. There may be a step or two here that may be unnecessary, and as I find those, I will remove them.</p>
<p style="margin-left:36pt;"> </p>
<p style="margin-left:36pt;">This first part is broken up into 6 parts: Account Set Up, Creating a Claims Aware SharePoint Site, Creating a Site Collection, SSL Certificates, ADFS 2.0, and Configuring SharePoint to use Claims. To keep this post small and easier to read, I have left out many of the screen shots and have only kept in the main options. The intent is not to explain how and why Claims Based Authentication works, I focus on more how to help get it set up so that you can either get your first environment up and running or debug your current situation. My previous post on Claims goes through many of the wizards, but I have found that going through it step by step, I ended up with missing certificates and did not set up Kerberos delegation. Without Kerberos delegation, these steps will return at Not Authorized &#8211; HTTP Error 401. The request resource requires user authentication.</p>
<p>    With that, let&#8217;s get into it.</p>
<p style="margin-left:36pt;"> </p>
<p style="text-align:center;margin-left:36pt;"><img src="http://shannonbray.files.wordpress.com/2010/10/100210_2056_claimsbased1.png?w=600" alt="" /></p>
<p style="margin-left:36pt;"> </p>
<p style="margin-left:36pt;"> </p>
<h2>Account Set Up</h2>
<ul style="margin-left:72pt;">
<li>Create a new service account (labs\adfsservice)</li>
<li>Create a new service account (labs\spcontent)</li>
<li>SetSPN -A http/labs-adfs.labs.com labs\adfsservice</li>
<li>SetSPN -A http/intranet.labs.com labs\spcontent</li>
<li>
<div>Modify the properties of both accounts (adfsservice &amp; spcontent)</div>
<ul>
<li>Trust this user for delegation to any service (Kerberos only)</li>
</ul>
</li>
<li>
<div>Modify the properties of the Labs-ADFS &amp; Labs-SPS computers</div>
<ul>
<li>Trust this computer for any delegation to any service (Kerberos only)</li>
</ul>
</li>
<li>On Labs-DC (DNS Server), add a Host A Record (intranet.labs.com) pointing to Labs-SPS</li>
<li><span style="text-decoration:underline;"><strong><em>Make sure all of your users who will access the system have email addresses!!!!<br />
</em></strong></span></li>
</ul>
<h2>Create a Claims aware web application using SharePoint 2010</h2>
<ul style="margin-left:72pt;">
<li>Add labs\spcontent as a managed account in SharePoint</li>
<li>Authentication &#8211; Claims Based Authentication</li>
<li>Port &#8211; 443</li>
<li>Host Header &#8211; intranet.labs.com</li>
<li>Allow Anonymous &#8211; Yes</li>
<li>Use Secure Sockets Layer (SSL) &#8211; Yes</li>
<li>Integrated Windows Authentication &#8211; Negotiate (Kerberos)</li>
<li>
<div>Application Pool</div>
<ul>
<li>Application Pool Name &#8211; SharePoint Content</li>
<li>Configurable &#8211; LABS\spcontent</li>
</ul>
</li>
<li>Database Name &#8211; LABS_Content_Intranet</li>
</ul>
<h2>Create a Site Collection</h2>
<ul style="margin-left:72pt;">
<li>Title &#8211; LABS Intranet</li>
<li>Enterprise Wiki</li>
<li>User Name(s) &#8211; Labs\Administrator &amp; Labs\Fred</li>
</ul>
<h2>SSL Certificate</h2>
<ul style="margin-left:72pt;">
<li>Download and Install SSLDiag.exe &#8211; Version 1.1 (x64)</li>
<li>Open up Internet Information Services (IIS) Manager</li>
<li>Click Sites, make note of the ID for SharePoint &#8211; intranet.labs.com443 (1771713514)</li>
<li>Open command window (cmd) and enter &#8220;CD c:\Program Files (x86)\IIS Resources\SSLDiag&#8221;</li>
<li>SSLDiag /selfssl /N:CN=intranet.labs.com /K:1024 /V:730 /S:1771713514 &#8211; Hit Enter</li>
<li>You can verify that you now have a SSL certificate by checking the bindings of your site</li>
<li>Visit your site and verify it works &#8211; https://intranet.labs.com</li>
<li>Verify the Security Logs have your account signing in as Kerberos</li>
</ul>
<h2>ADFS 2.0</h2>
<ul style="margin-left:72pt;">
<li>Install the correct version for your OS</li>
<li>
<div>Open Internet Information Services (IIS) Manager</div>
<ul>
<li>Create a Self-Signed Certificate using the wizard</li>
<li>Friendly name labs-adfs.labs.com</li>
</ul>
</li>
<li>
<div>Server Configuration Wizard</div>
<ul>
<li>Create a new Federation Service</li>
<li>New federation server farm</li>
<li>Labs-adfs.labs.com</li>
<li>Service account: labs\adfsservice</li>
<li>
<div>Let Wizard complete configuration</div>
<ul>
<li>Ignore Configure service settings warming</li>
</ul>
</li>
</ul>
</li>
<li>
<div>Add a Trusted Relying Party (RP)</div>
<ul>
<li>Enter data about the relying party manually</li>
<li>Display Name &#8211; Labs SharePoint Server</li>
<li>AD FS 2.0 Profile</li>
<li>Enable support for the WS-Federation Passive protocol</li>
<li>https://intranet.labs.com/_trust/</li>
<li>
<div>Relying party trust identifier</div>
<ul>
<li>Add &#8211; urn:LABS-SPS:adfs</li>
<li>Remove &#8211; https://intranet.labs.com/_trust/</li>
</ul>
</li>
<li>Permit all user to access this relying party</li>
<li>Keep the check box for &#8216;Open the Edit Claim Rules…&#8221;</li>
</ul>
</li>
<li>
<div>Edit Claim Rules for Labs SharePoint Server</div>
<ul>
<li>Add Rule</li>
<li>Send LDAP Attributes as Claims</li>
<li>
<div>Claim Rule</div>
<ul>
<li>Name: Email Address</li>
<li>Attribute Store: Active Directory</li>
<li>LDAP Attribute: E-Mail-Addresses</li>
<li>Outgoing Claim Type: E-Mail Address</li>
</ul>
</li>
</ul>
</li>
<li>
<div>Export the STS Certificate for use on the SharePoint Server</div>
<ul>
<li>Open the &#8216;Certificates&#8217; node in the AD FS 2.0 Management Console</li>
<li>View the Token-Signing Certificate</li>
<li>Install the Certificate</li>
<li>Copy To File …</li>
<li>DER encoded binary X.509 (.CER)</li>
<li>Save &#8211; C:\Certs\adfssts.labs.com</li>
<li>Install the Token-Decrypting Certificate</li>
</ul>
<p> </li>
</ul>
<h2>Configure SharePoint to Use the Claim</h2>
<ul style="margin-left:72pt;">
<li>Open PowerShell Window</li>
<li>Copy adfssts.labs.com to local machine</li>
<li>Import certificate into the &#8216;Trusted Root Certification Authorities&#8217;</li>
<li>
<div>Add the PowerShell script highlighted below</div>
<p> </p>
<p><em>$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2(&#8220;c:\Certs\adfssts.labs.com.cer&#8221;)<br />
$map1 = New-SPClaimTypeMapping &#8220;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&#8221; -IncomingClaimTypeDisplayName &#8220;EmailAddress&#8221; -SameAsIncoming<br />
$realm = &#8220;urn:&#8221; + $env:ComputerName + &#8220;:adfs&#8221;<br />
$signinurl = &#8220;https://labs-adfs.labs.com/adfs/ls/&#8221;<br />
$ap = New-SPTrustedIdentityTokenIssuer -Name &#8220;ADFS 2.0&#8243; -Description &#8220;ADFS 2.0 Federated Server&#8221; -Realm $realm -ImportTrustCertificate $cert -ClaimsMappings $map1 -SignInUrl $signinurl -IdentifierClaim $map1.InputClaimType</em></p>
<p><em>New-SPTrustedRootAuthority “Labs ADFS Token Signing Trusted Root Authority” -Certificate $cert</em><em></em></li>
</ul>
<p> </p>
<ul style="margin-left:72pt;">
<li>Inside Central Administration, click Security, Manage trust, and verify &#8220;Labs ADFS…&#8221; is there</li>
<li>Specify Authentication Providers, Default, Check Trusted Identity Provider, Check ADFS 2.0</li>
<li>Log in using Windows Authentication and add a Claims users</li>
<li>Close your browser</li>
<li>Sign-In as a CBA user</li>
</ul>
<p style="text-align:center;"><img src="http://shannonbray.files.wordpress.com/2010/10/100210_2056_claimsbased3.png?w=600" alt="" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/832/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/832/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/832/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=832&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2010/10/02/claims-based-authentication-made-simple/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>

		<media:content url="http://shannonbray.files.wordpress.com/2010/10/100210_2056_claimsbased1.png" medium="image" />

		<media:content url="http://shannonbray.files.wordpress.com/2010/10/100210_2056_claimsbased3.png" medium="image" />
	</item>
		<item>
		<title>SharePoint and the Various Application Pools</title>
		<link>http://shannonbray.wordpress.com/2010/09/08/sharepoint-and-the-various-application-pools/</link>
		<comments>http://shannonbray.wordpress.com/2010/09/08/sharepoint-and-the-various-application-pools/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 23:18:34 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://shannonbray.wordpress.com/?p=786</guid>
		<description><![CDATA[I am in the midst of co-authoring a SharePoint administration via PowerShell book with Gary Lapointe. Automating Microsoft SharePoint 2010 Administration with Windows PowerShell 2.0 ISBN 978-0-470-93920-8 While researching application pools in SharePoint, I discovered some interesting information that I would like to share. When I discovered these, I searched for documentation on-line and could [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=786&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Times New Roman;font-size:12pt;">I am in the midst of co-authoring a SharePoint administration via PowerShell book with Gary Lapointe.<br />
</span></p>
<blockquote><p>Automating Microsoft SharePoint 2010 Administration with Windows PowerShell 2.0</p></blockquote>
<p style="text-align:center;"><span style="font-family:Times New Roman;font-size:12pt;">ISBN 978-0-470-93920-8<strong><em><br />
</em></strong></span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">While researching application pools in SharePoint, I discovered some interesting information that I would like to share. When I discovered these, I searched for documentation on-line and could not find anything to support my findings. I then reached out to <a href="http://www.harbars.com"><span style="color:blue;text-decoration:underline;">Spence Harbar</span></a> who was instrumental in helping to remove the confusion I had around this topic.<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">SharePoint 2010 has introduced two new &#8220;types&#8221; of application pools, but before we dive into what these types are, let&#8217;s introduce what application pools are and why they are important.<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:18pt;"><strong>Types of Application Pools<br />
</strong></span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">With the release of SharePoint 2010, Microsoft has released two distinct types of application pools. The first is used to host content web applications. The second is used to host service application endpoints. Before we examine these two types, let&#8217;s look at the IIS Web Application Pool.<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:13pt;"><strong>IIS Web Application Pools<br />
</strong></span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">Application Pools in IIS 7 can run in one of two modes: integrated mode and classic mode. The web server will process the request differently based on the selected mode. In integrated mode, IIS will use the new request-processing pipelines of IIS and ASP.NET. If classic mode is selected, the server will route requests the same way it did in IIS 6.0; through Aspnet_isapi. For more information on this, check out <a href="http://technet.microsoft.com/en-us/library/cc753449(WS.10).aspx"><span style="color:blue;text-decoration:underline;">Managing Application Pools in IIS 7.0.</span></a><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">You can create a new application pool by using the WebAdministration module. This method is very similar to how Central Administration creates an application pool by using the IIS admin tools. SharePoint 2010 differs from SharePoint 2007 in the fact that 2010 uses integrated mode as opposed to classic mode. You will see evidence of this in the $appPool output when you examine the &#8216;<span style="color:black;">managedPipelineMode&#8217; </span>property<span style="color:black;">.</span><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;"><span style="color:black;">Notice in this example that we are using the New-WebAppPool cmdlet to create the application pool. If you intend to create an application pool to host a content web application, you should the New-SPWebApplication cmdlet discuss in the next section.</span><br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Import the IIS Cmdlets</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:cadetblue;"><span style="font-family:Courier New;font-size:10pt;"><strong>Import-Module </strong><span style="color:maroon;">WebAdministration</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Set the variables</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$name <span style="color:red;">= <span style="color:maroon;">&#8220;IISWebAppPool&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Call the cmdlets</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$appPool <span style="color:red;">=<span style="color:black;"> New-WebAppPool <span style="color:purple;">$name</span></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$appPool<span style="color:black;">|<span style="color:cadetblue;"><strong>Select </strong><span style="color:maroon;">*<br />
</span></span></span></span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">PSPath : WebAdministration::\\SHARED-SPS\AppPools\ IISWebWebAppPool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">PSParentPath : WebAdministration::\\SHARED-SPS\AppPools</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">PSChildName : IISWebWebAppPool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">PSDrive : IIS</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">PSProvider : WebAdministration</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">PSIsContainer : True</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">name : IISWebAppPool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">queueLength : 1000</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">autoStart : True</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">enable32BitAppOnWin64 : False</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">managedRuntimeVersion : v2.0</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">managedRuntimeLoader : webengine4.dll</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">enableConfigurationOverride : True</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">managedPipelineMode : Integrated</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">CLRConfigFile :</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">passAnonymousToken : True</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">startMode : OnDemand</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">state : Started</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:black;">applicationPoolSid : </span>S-1-5-82-1517038176-2514250230-1636255725-1940432224-2879398816</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">processModel : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">recycling : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">failure : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">cpu : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">workerProcesses : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:black;">ItemXPath : /</span>system.applicationHost/applicationPools/add[@name='IISWebAppPool']</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Attributes : {name, queueLength, autoStart, enable32BitAppOnWin64…}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">ChildElements : {processModel, recycling, failure, cpu…}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">ElementTagName : add</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Methods : {Start, Stop, Recycle}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Schema : Microsoft.IIs.PowerShell.Framework.ConfigurationElementSchema</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">While this application pool can be used by SharePoint, if you need to create a new application pool to be used with a particular web application, then you should use the New-SPWebApplication cmdlet as shown in the next section.<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:13pt;"><strong>Creating Application Pools for SharePoint Content Web Applications<br />
</strong></span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">With the release of SharePoint 2010 came a very large set of cmdlets for administrating it. One of those commands is the New-SPWebApplication cmdlet that we demonstrate below. One of the benefits of this cmdlet is that it gives you the opportunity to create a new application pool with the content web application. Once the web application is creates, I output the ApplicationPool property so that you can examine its contents. Note the type. You will see that this application pool inherits from the <span style="color:black;">Microsoft.SharePoint.Administration.SPApplicationPool</span> Class. This is important to keep in mind as in the next section; you will find that the application pools used to host the Service Application end points uses an entirely different class for its application pools.<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Set the variables</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$siteName <span style="color:red;">= <span style="color:maroon;">&#8220;PowerShell for SharePoint&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$port <span style="color:red;">=<span style="color:black;"> 80</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$hostHeader <span style="color:red;">= <span style="color:maroon;">&#8220;lab.ps4sp.com&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$url <span style="color:red;">= <span style="color:maroon;">&#8220;http://lab.ps4sp.com&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$appPoolName <span style="color:red;">= <span style="color:maroon;">&#8220;MyNewSPAppPool&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$managedAccount <span style="color:red;">= <span style="color:maroon;">&#8220;Shared\spservice&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$dbServer <span style="color:red;">= <span style="color:maroon;">&#8220;Shared-SPS&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$dbName <span style="color:red;">= <span style="color:maroon;">&#8220;PS4SP_SP2010_LAB_ContentDB&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$allowAnonymous <span style="color:red;">= <span style="color:purple;">$true</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$authenticationMethod <span style="color:red;">= <span style="color:maroon;">&#8220;NTLM&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$ssl <span style="color:red;">= <span style="color:purple;">$false</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Create the web application</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$webApp <span style="color:red;">=<span style="color:black;"> New-SPWebApplication -Name <span style="color:purple;">$siteName <span style="color:cadetblue;"><strong>`</strong></span></span></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-Port <span style="color:purple;">$port <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-HostHeader <span style="color:purple;">$hostHeader <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-URL <span style="color:purple;">$url <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-ApplicationPool <span style="color:purple;">$appPoolName <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-ApplicationPoolAccount (Get-SPManagedAccount <span style="color:maroon;">&#8220;$managedAccount&#8221;<span style="color:black;">) <span style="color:cadetblue;"><strong>`</strong></span></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-DatabaseName <span style="color:purple;">$dbName <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-DatabaseServer <span style="color:purple;">$dbServer <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-AllowAnonymousAccess: <span style="color:purple;">$allowAnonymous <span style="color:cadetblue;"><strong>`</strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">-AuthenticationMethod <span style="color:purple;">$authenticationMethod <span style="color:cadetblue;"><strong>` </strong></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:cadetblue;"><span style="font-family:Courier New;font-size:10pt;"> <span style="color:black;">-SecureSocketsLayer:<span style="color:purple;">$ssl</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;">#Get details of application pool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$webApp<span style="color:black;">.ApplicationPool<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">CurrentIdentityType : SpecificUser</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">CurrentSecurityIdentifier : S-1-5-21-1164618842-3663998900-3839706364-1107</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">ManagedAccount : SPManagedAccount Name=managed-account-S-1-5-21-1164618842-3663998900-3839706364-1107</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">ProcessAccount : S-1-5-21-1164618842-3663998900-3839706364-1107</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Username : SHARED\spservice</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Password :</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">SecurePassword :</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">IsCredentialUpdateEnabled : True</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">IsCredentialDeploymentEnabled : True</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Name : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">TypeName : Microsoft.SharePoint.Administration.SPApplicationPool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">DisplayName : Microsoft.IIs.PowerShell.Framework.ConfigurationElement</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Id : 1f6c2276-2404-4f1b-8997-fb802198c3f7</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Status : Online</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Parent : SPWebService</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Version : 16027</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Properties : {}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Farm : SPFarm Name=Shared_SP2010_Config</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">UpgradedPersistedProperties : {}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">So now you may be wondering why I introduced the IIS Web Application Pools section, if you can use the New-SPWebApplication cmdlet to create your application pools. The simple fact is that as of the time of this writing, Microsoft hasn&#8217;t yet provided use with a set of cmdlets to manage these application pools, so if you would like to start, stop, restart, or remove them, then you would do so as if they were the IIS Web application pools.<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Import the IIS Cmdlets</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:cadetblue;"><span style="font-family:Courier New;font-size:10pt;"><strong>Import-Module </strong><span style="color:maroon;">WebAdministration</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Set the variables</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$name <span style="color:red;">= <span style="color:maroon;">&#8220;MyNewSPAppPool&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Restart the Applicaiton Pool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">Restart-WebAppPool -Name <span style="color:purple;">$name</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Check the state</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">Get-WebAppPoolState <span style="color:purple;">$name</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Turn it Off</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">Stop-WebAppPool -Name <span style="color:purple;">$name</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Check the state</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">Get-WebAppPoolState <span style="color:purple;">$name</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Turn it back on</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">Start-WebAppPool -Name <span style="color:purple;">$name</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Check the state</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;">Get-WebAppPoolState <span style="color:purple;">$name</span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Value</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Started</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Stopped</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">Started<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:13pt;"><strong>Service Application End-Point Application Pools<br />
</strong></span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">Now that we have discovered the first type of application pool, we now introduce the second. With the beta release of SharePoint 2010, Microsoft released a series of cmdlets that managed application pools that hosted service application end-points: New-SPIisWebServiceApplicationPool, Get-SPIisWebServiceApplicationPool, Set-SPIisWebServiceApplicationPool, and Remove-SPIisWebServiceApplicationPool. Some time prior to RTM, these cmdlets were renamed to New-SPServiceApplicationPool, Get-SPServiceApplicationPool, Set-SPServiceApplicationPool, and Remove-SPServiceApplicationPool.<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">It is important to know that the application pools managed by these cmdlets are not intended for content web applications. In fact, through Central Administration, you cannot create a content web application that is hosted by a SPIisWebServiceApplicationPool (SPServiceApplicationPool). While this is possible to do in PowerShell, it is not supported!!!<br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">To show some of the property difference between the standard application pools and those created to host the service application end-points, we create an application pool using the New-SPServiceApplicationPool below. Notice the class type for the application pools is Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool.<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Set the variable</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$spName <span style="color:red;">= <span style="color:maroon;">&#8220;SharePoint Portal App Pool&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$managedAccount <span style="color:red;">= <span style="color:maroon;">&#8220;Shared\spservice&#8221;</span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Create a new Application Pool using the SharePoint cmdlet</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;"><span style="font-family:Courier New;font-size:10pt;">$appPool <span style="color:red;">=<span style="color:black;"> New-SPServiceApplicationPool -Name <span style="color:purple;">$spName<span style="color:black;"> -Account (Get-SPManagedAccount <span style="color:maroon;">&#8220;$managedAccount&#8221;<span style="color:black;">)</span></span></span></span></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Write Output to screen</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$appPool<span style="color:black;">|<span style="color:cadetblue;"><strong>select </strong><span style="color:maroon;">*<br />
</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">ProcessAccountName : SHARED\spservice</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Name : SharePoint Portal App Pool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">ProcessAccount : S-1-5-21-1164618842-3663998900-3839706364-1107</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">TypeName : Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">DisplayName : SharePoint Portal App Pool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Id : 7045ac1f-a612-4ad9-8a66-60243587eaf5</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Status : Online</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Parent : SPIisWebServiceSettings Name=SharePoint Web Services</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Version : 12027</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Properties : {}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Farm : SPFarm Name=Shared_SP2010_Config</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">UpgradedPersistedProperties : {}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:13pt;"><strong>Get a List of Application Pools Using PowerShell<br />
</strong></span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">To further show the difference between these two types, we examine the output from the Get-SPServiceApplicationPool cmdet. Notice that in your environment, you will only get back application pools that can host service application end-points.<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Get-SPServiceApplicationPool</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Name ProcessAccountName</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">SecurityTokenServiceApplicationPool Shared\sqlservice</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">SharePoint Web Services Default Shared\SPService</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">SharePoint Web Services System Shared\sqlservice</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;">To find the application pools associated with content web applications, use the Get-SPWebApplication cmdlet.<br />
</span></p>
<p><span style="color:blue;"><span style="font-family:Courier New;font-size:10pt;">foreach<span style="color:black;">(<span style="color:purple;">$i <span style="color:blue;">in<span style="color:black;"> Get-SPWebApplication)</span></span></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">{</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:black;"><span style="font-family:Courier New;font-size:10pt;"><br />
<span style="color:purple;">$i<span style="color:black;">.ApplicationPool|<span style="color:cadetblue;"><strong>Format-Table </strong><em>-Property</em><span style="color:black;"> Name,UserName</span></span></span></span></span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Name Username</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">SharedAppPool Shared\SPService</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">SharedPubsAppPool Shared\SPService</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="font-family:Times New Roman;font-size:13pt;"><strong>.NET Reflector – Decompiled Code<br />
</strong></span></p>
<p> <br />
 </p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">[Guid("B8369089-08AD-4978-B1CB-C597B5E90F64"), SharePointPermission(SecurityAction.InheritanceDemand, ObjectModel=true), SharePointPermission(SecurityAction.LinkDemand, ObjectModel=true)]</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public class SPApplicationPool : SPProcessIdentity</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">{</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">// Methods</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public SPApplicationPool();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public SPApplicationPool(string name, SPWebService service);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">protected internal virtual void OnPasswordChange(SPManagedAccount.EventType eventType);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public override void Provision();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void ProvisionInternal(SecureString sstrPassword);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void Recycle();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public override void Unprovision();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public void UnprovisionGlobally();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public override void Update();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public virtual void UpdateCredentials(string formerUsername);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">[Guid("F9338406-BA5D-456B-8502-E9E195DDC328"), SharePointPermission(SecurityAction.LinkDemand, ObjectModel=true), SharePointPermission(SecurityAction.InheritanceDemand, ObjectModel=true)]</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public sealed class SPIisWebServiceApplicationPool : SPPersistedObject</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">{</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">// Fields</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private const string DefaultSystemApplicationPoolName = &#8220;SharePoint Web Services System&#8221;;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private bool m_IdentityChanged;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">[Persisted]</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private IdentityType m_IdentityType;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">[Persisted]</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private SPManagedAccount m_ManagedAccount;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">[Persisted]</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private SPIisWebServiceApplicationPoolOptions m_Options;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private static readonly object s_SynchronizationLock;</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">// Methods</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">static SPIisWebServiceApplicationPool();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public SPIisWebServiceApplicationPool();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private SPIisWebServiceApplicationPool(string name, SPIisWebServiceSettings parent, IdentityType identityType, SPManagedAccount managedAccount, SPIisWebServiceApplicationPoolOptions options);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void BeginProvision(SPIisWebServiceApplicationPoolProvisioningOptions options);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal static SPIisWebServiceApplicationPool Create(SPFarm farm, string name, SPProcessAccount processAccount);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private static SPIisWebServiceApplicationPool Create(SPFarm farm, string name, SPProcessAccount processAccount, SPIisWebServiceApplicationPoolOptions options);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal static SPIisWebServiceApplicationPool EnsureSecurityTokenServiceDefault();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal static SPIisWebServiceApplicationPool EnsureSystemDefault();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal static SPIisWebServiceApplicationPool GetInstance(SPFarm farm, string name);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public SecurityIdentifier GetSecurityIdentifier();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void ProvisionLocal();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void ProvisionLocal(SPIisWebServiceApplicationPoolProvisioningOptions options);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private void RaiseProcessIdentityChangedEvent();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void UnprovisionLocal();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public override void Update();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal void UpdateDependentApplications();</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public static SPIisWebServiceApplicationPool UpgradeFromProcessIdentity(SPProcessIdentity processIdentity, string name);</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">// Properties</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal IdentityType CurrentIdentityType { get; }</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal string IisObjectName { get; }</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">internal SPManagedAccount ManagedAccount { get; }</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public string Name { get; }</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">public SPProcessAccount ProcessAccount { get; set; }</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">// Nested Types</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">[Flags]</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">private enum SPIisWebServiceApplicationPoolOptions</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">{</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">None,</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">UseObjectNameAsIisObjectName</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;">}</span><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></p>
<p><span style="color:#1f497d;font-family:Courier New;font-size:10pt;"><br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=786&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2010/09/08/sharepoint-and-the-various-application-pools/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 and the Site Directory</title>
		<link>http://shannonbray.wordpress.com/2010/07/17/sharepoint-2010-and-the-site-directory/</link>
		<comments>http://shannonbray.wordpress.com/2010/07/17/sharepoint-2010-and-the-site-directory/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 06:26:34 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Configuring]]></category>

		<guid isPermaLink="false">http://sppowershell.com/2010/07/17/sharepoint-2010-and-the-site-directory/</guid>
		<description><![CDATA[  You may have noticed that Central Administration offers you a screen to configure a master Site Directory in SharePoint 2010, but it does not give you the ability to create a site based off of this template through the UI. It appears that this functionality has been removed and is only available under the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=875&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>You may have noticed that Central Administration offers you a screen to configure a master Site Directory in SharePoint 2010, but it does not give you the ability to create a site based off of this template through the UI. It appears that this functionality has been removed and is only available under the covers to support SharePoint 2007 upgrades that had this template included.</p>
<p style="text-align:center;"><img src="http://shannonbray.files.wordpress.com/2010/07/071710_0626_sharepoint211.png?w=600" alt="" /></p>
<p>Once again…. PowerShell comes to the rescue. You can create a Site Directory using the following code snippet.</p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Set the variables<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$siteURL <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;http://lab.ps4sp.com/sites/directory&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$owner <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;PS4SPShannon&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$secondOwner <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;PS4SPAdministrator&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$template <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;SPSSITES#0&#8243;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$description <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;This site directory was built using PowerShell.&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$name <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;Site Directory&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Create the Site Directory<br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">New-SPSite <span style="color:purple;">$siteURL<span style="color:black;"> -OwnerAlias <span style="color:purple;">$owner<span style="color:black;"> -SecondaryOwnerAlias <span style="color:purple;">$secondOwner<span style="color:black;"> -name <span style="color:purple;">$name<span style="color:black;"> -Template <span style="color:purple;">$template<span style="color:black;"> -Description <span style="color:purple;">$description</span><br />
</span></span></span></span></span></span></span></span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">Once you have your site directory created, you can then use PowerShell to configure your master Site Directory with the following code snippet.<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Set Site URL<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$siteURL <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;http://lab.ps4sp.com/sites/directory&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Site Directory Requirements can be one of the following:<br />
</span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># SiteDirectoryCatsOptional, OneSiteDirectoryCatMandatory, or AllSiteDirectoryCatMandatory<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$requirements <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;AllSiteDirectoryCatMandatory&#8221;</span></span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;">#Enforce Listings?<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$enforce <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:purple;">$true</span></span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Need to get site and web IDs<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$site <span style="color:black;"><span style="color:red;">=<span style="color:black;"> get-SPSite <span style="color:purple;">$siteURL<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$web <span style="color:black;"><span style="color:red;">=<span style="color:black;"> get-SPWeb <span style="color:purple;">$siteURL</span></span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Get the farm<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$farm <span style="color:black;"><span style="color:red;">=<span style="color:black;"> get-SPFarm<br />
</span></span></span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;"># Get the Site Directory fromn the Portal Service<br />
</span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:purple;">$farm<span style="color:black;">.Services | <span style="color:cadetblue;"><strong>where</strong><span style="color:black;"> {<span style="color:purple;">$_<span style="color:black;">.GetType().Name <span style="color:red;">-eq <span style="color:black;"><span style="color:maroon;">&#8220;PortalService&#8221;<span style="color:black;">}<br />
</span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps<span style="color:black;">.MasterSiteDirectoryLocation <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$siteURL<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps<span style="color:black;">.MasterSiteDirectorySiteId <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$site<span style="color:black;">.ID<br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps<span style="color:black;">.MasterSiteDirectoryWebId <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$web<span style="color:black;">.ID<br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps<span style="color:black;">.EnforceNewListingForSites <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$enforce<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps<span style="color:black;">.SiteDirectoryEntryRequirements <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$requirements<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$ps<span style="color:black;">.Update()<br />
</span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$site<span style="color:black;">.Dispose()<br />
</span></span></p>
<p><span style="color:purple;font-family:Courier New;font-size:10pt;">$web<span style="color:black;">.Dispose()<br />
</span></span></p>
<p><span style="color:green;font-family:Courier New;font-size:10pt;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/875/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=875&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2010/07/17/sharepoint-2010-and-the-site-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>

		<media:content url="http://shannonbray.files.wordpress.com/2010/07/071710_0626_sharepoint211.png" medium="image" />
	</item>
		<item>
		<title>Configuring Content Deployment Settings</title>
		<link>http://shannonbray.wordpress.com/2010/07/16/configuring-content-deployment-settings/</link>
		<comments>http://shannonbray.wordpress.com/2010/07/16/configuring-content-deployment-settings/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 04:47:05 +0000</pubDate>
		<dc:creator>Shannon Bray</dc:creator>
				<category><![CDATA[Configuring]]></category>

		<guid isPermaLink="false">http://sppowershell.com/2010/07/16/configuring-content-deployment-settings/</guid>
		<description><![CDATA[SharePoint 2010 provides many new cmdlets that let you interact and configure content deployment settings. These new cmdlets include the following: New-SPContentDeploymentJob Start-SPContentDeploymentJob Get-SPContentDeploymentPath Set-SPContentDeploymentPath Remove-SPContentDeploymentPath Set-SPContentDeploymentJob Get-SPContentDeploymentJob Remove-SPContentDeploymentJob You can read up on content deployment and these cmdlet here. The cmdlet that you will find are related to Content Deployment Paths and Jobs. While [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=874&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 provides many new cmdlets that let you interact and configure content deployment settings. These new cmdlets include the following:</p>
<ul>
<li>New-SPContentDeploymentJob</li>
<li>Start-SPContentDeploymentJob</li>
<li>Get-SPContentDeploymentPath</li>
<li>Set-SPContentDeploymentPath</li>
<li>Remove-SPContentDeploymentPath</li>
<li>Set-SPContentDeploymentJob</li>
<li>Get-SPContentDeploymentJob</li>
<li>Remove-SPContentDeploymentJob</li>
</ul>
<p>You can read up on content deployment and these cmdlet <a href="http://technet.microsoft.com/en-us/library/ee906562.aspx">here</a>. The cmdlet that you will find are related to Content Deployment Paths and Jobs. While these work very well and are easy to use, they are only part of the story. To fully configure Content Deployment, you need to set the &#8216;Accept Content Deployment Jobs&#8217;. SharePoint does not give you a cmdlet for these properties.</p>
<p style="text-align:center;"><img src="http://shannonbray.files.wordpress.com/2010/07/071710_0446_configuring11.png?w=600" alt="" /></p>
<p>The code snippet below provides settings for content deployment within the same farm. If you wish to deploy content to another SharePoint farm, modify the ExportWebServer property below.</p>
<p><span style="color:black;font-family:Consolas;font-size:9pt;"># Set the variables<br />
</span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$acceptJobs <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:purple;">$true<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$secureConnection <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:purple;">$false<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$tempFolder <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;C:ProgramDataContentDeployment&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$ImportWebServer <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;PS-SPS&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$exportWebServer <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:maroon;">&#8220;PS-SPS&#8221;<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$reportsPerJob <span style="color:black;"><span style="color:red;">=<span style="color:black;"> 20<br />
</span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$pollingInterval <span style="color:black;"><span style="color:red;">=<span style="color:black;"> 10<br />
</span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$fileMaxSize <span style="color:black;"><span style="color:red;">=<span style="color:black;"> 10<br />
</span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$blockMultiple <span style="color:black;"><span style="color:red;">= <span style="color:black;"><span style="color:purple;">$true</span></span></span></span></span></p>
<p><span style="color:black;font-family:Consolas;font-size:9pt;"># Get an instance of the ContentDeploymentConfiguration object and set the properties<br />
</span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs <span style="color:black;"><span style="color:red;">=<span style="color:black;">[Microsoft.SharePoint.Publishing.Administration.ContentDeploymentConfiguration]::GetInstance()<br />
</span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.AcceptIncomingJobs <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$acceptJobs<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.RequiresSecureConnection <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$secureConnection<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.TemporaryFolder <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$tempFolder<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.ImportWebServer <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$importWebServer<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.ExportWebServer <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$exportWebServer<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.DefaultReportsPerJob <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$reportsPerJob<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.RemotePollingINterval <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$pllingInterval<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.FileMaxSize <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$fileMaxSize<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.BlockMultipleJobsPerPath <span style="color:red;">= <span style="color:black;"><span style="color:purple;">$blockMultiple<span style="color:black;"><br />
</span></span></span></span></span></span></p>
<p><span style="color:purple;font-family:Consolas;font-size:9pt;">$cs<span style="color:black;">.Update()</span><br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shannonbray.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shannonbray.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shannonbray.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shannonbray.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shannonbray.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shannonbray.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shannonbray.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shannonbray.wordpress.com/874/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shannonbray.wordpress.com&amp;blog=12943307&amp;post=874&amp;subd=shannonbray&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shannonbray.wordpress.com/2010/07/16/configuring-content-deployment-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e02bdad8a5dd9f66a9d6ebcbb4330097?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shannonbray</media:title>
		</media:content>

		<media:content url="http://shannonbray.files.wordpress.com/2010/07/071710_0446_configuring11.png" medium="image" />
	</item>
	</channel>
</rss>
