<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Zach's SharePoint Blog</title>
	
	<link>http://zsharepoint.wordpress.com</link>
	<description>Tune in to read posts by Microsoft SharePoint Program Manager Zach Rosenfield who will discuss various SharePoint topics ranging from UI design and Master Pages, to infrastructure planning and management tips.</description>
	<lastBuildDate>Wed, 15 May 2013 05:28:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain="zsharepoint.wordpress.com" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image><link>http://sharepoint.microsoft.com/blogs/zach</link><url>http://sharepoint.microsoft.com/blogs/zach/images/photo_overlay.png</url><title>Zach Rosenfield's SharePoint Blog</title></image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zsharepoint.wordpress.com/osd.xml" title="Zach Rosenfield's SharePoint Blog" />
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ZachRosenfield" /><feedburner:info uri="zachrosenfield" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://zsharepoint.wordpress.com/?pushpress=hub" /><feedburner:emailServiceId>ZachRosenfield</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>SharePoint 101: Full Width Rich Text Editor</title>
		<link>http://feedproxy.google.com/~r/ZachRosenfield/~3/Qlan4LhTl_0/</link>
		<comments>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-full-width-rich-text-editor/#comments</comments>
		<pubDate>Wed, 15 May 2013 05:28:53 +0000</pubDate>
		<dc:creator>zrosenfield</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zsharepoint.wordpress.com/?p=17</guid>
		<description><![CDATA[It can be a little frustrating in SharePoint when the &#8220;Rich Text Editor&#8221; on the edit page of Wiki&#8217;s, Blogs, or on certain lists is set to fixed column width.  [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=17&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div>It can be a little frustrating in SharePoint when the &#8220;Rich Text Editor&#8221; on the edit page of Wiki&#8217;s, Blogs, or on certain lists is set to fixed column width.  I certainly find it easier to blog in a fullscreen-width editor!</div>
<div></div>
<div>Here&#8217;s the CSS to make it happen (warning, this syntax applies to ALL rich text editors!).   The first does all normal forms and wikis:</div>
<div></div>
<div><span style="font-family:Courier New;"><span style="color:#800080;">#onetIDListForm, #onetIDListForm .ms-formbody, #onetIDListForm iframe[title="Rich Text Editor"]</span>{  <span style="color:#ff0000;">width</span>:<span style="color:#0000ff;">100% </span><span style="color:#ff0000;">!important;</span> }</span></div>
<div></div>
<div>And this does the same for Blogs!</div>
<div><span style="font-family:Courier New;"><span style="color:#800080;">.ms-formbody span span div iframe, .ms-formbody span span table.ms-long</span>{  <span style="color:#ff0000;">width</span>:<span style="color:#0000ff;">100%</span>; <span style="color:#ff0000;">text-align</span>:<span style="color:#0000ff;">left</span>; } </span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zsharepoint.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zsharepoint.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=17&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=Qlan4LhTl_0:VximGCfnsPw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=Qlan4LhTl_0:VximGCfnsPw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=Qlan4LhTl_0:VximGCfnsPw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=Qlan4LhTl_0:VximGCfnsPw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=Qlan4LhTl_0:VximGCfnsPw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=Qlan4LhTl_0:VximGCfnsPw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=Qlan4LhTl_0:VximGCfnsPw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=Qlan4LhTl_0:VximGCfnsPw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ZachRosenfield/~4/Qlan4LhTl_0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-full-width-rich-text-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/9adc37631f9b85ae8e47298ec70df2af?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">zrosenfield</media:title>
		</media:content>
	<feedburner:origLink>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-full-width-rich-text-editor/</feedburner:origLink></item>
		<item>
		<title>SharePoint 101: Styling the Site Actions menu</title>
		<link>http://feedproxy.google.com/~r/ZachRosenfield/~3/yaX4UZo1I1w/</link>
		<comments>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-styling-the-site-actions-menu/#comments</comments>
		<pubDate>Wed, 15 May 2013 05:28:31 +0000</pubDate>
		<dc:creator>zrosenfield</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zsharepoint.wordpress.com/?p=11</guid>
		<description><![CDATA[This is a quick one&#8230; I wanted to share a &#8220;SharePoint 101&#8243; tip: Styling the Site Actions Menu. Here&#8217;s what i started with&#8211;you can tell that the site actions menu [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=11&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span style="font-family:Calibri;font-size:medium;">This is a quick one&#8230; I wanted to share a &#8220;SharePoint 101&#8243; tip: Styling the Site Actions Menu.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Here&#8217;s what i started with&#8211;you can tell that the site actions menu (with its Out-Of-The-Box style) wasn&#8217;t going to work for me:</span></p>
<p><a href="http://zsharepoint.files.wordpress.com/2013/05/siteactions41.jpg"><img class="alignnone size-medium wp-image-15" alt="siteactions4[1]" src="http://zsharepoint.files.wordpress.com/2013/05/siteactions41.jpg?w=300&#038;h=73" width="300" height="73" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">I wanted something simpler that matches the &#8220;welcome&#8221; screen! So for starters, i removed the background from the container div:</span></p>
<p><span style="font-size:small;">.ms-siteactionsmenu div div div</span><span style="font-size:small;">{      background:transparent !important; }</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Notice the &#8220;!important&#8221;.  This is so that I can override the inline styles on the control (get ready for a few more of them).  Next I remove the border from this same div:</span></p>
<p><span style="font-size:small;">.ms-siteactionsmenu div div div{ <span style="font-family:Calibri;">                </span>background:transparent</span><span style="font-size:small;"> !important;      border:1px solid transparent !important; }</span></p>
<p><span style="font-family:Calibri;font-size:medium;">So&#8211;Getting Better!</span></p>
<p><a href="http://zsharepoint.files.wordpress.com/2013/05/siteactions21.jpg"><img alt="siteactions2[1]" src="http://zsharepoint.files.wordpress.com/2013/05/siteactions21.jpg?w=116&#038;h=42" width="116" height="42" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">Note that I leave the 1 pixel &#8216;transparent&#8217; border so that when I show a border on hover I don&#8217;t get a funky &#8220;resize&#8221; behavior.  So, on that note&#8211;let&#8217;s add the &#8220;hover&#8221; behavior:</span></p>
<p><span style="font-size:small;">.ms-siteactionsmenu div div div.ms-siteactionsmenuhover{</span></p>
<p><span style="font-size:small;">     background: green !important; </span></p>
<p><span style="font-size:small;">     border:1px solid white !important;</span></p>
<p><span style="font-size:small;">}</span></p>
<p><span style="font-family:Calibri;font-size:medium;"> </span></p>
<p><span style="font-family:Calibri;font-size:medium;">On hover now looks like this:</span></p>
<p><a href="http://zsharepoint.files.wordpress.com/2013/05/siteactions31.jpg"><img alt="siteactions3[1]" src="http://zsharepoint.files.wordpress.com/2013/05/siteactions31.jpg?w=133&#038;h=45" width="133" height="45" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">Simple and clean! To finish it off, I similarly set the Welcome to the same hover style:</span></p>
<p><span style="font-size:small;">.ms-siteactionsmenu div div div.ms-siteactionsmenuhover, .ms-SpLinkButtonActive{</span></p>
<p><span style="font-size:small;">     background: green !important; </span></p>
<p><span style="font-size:small;">     border:1px solid white !important;</span></p>
<p><span style="font-size:small;">}</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="http://zsharepoint.files.wordpress.com/2013/05/siteactions11.jpg"><img alt="siteactions1[1]" src="http://zsharepoint.files.wordpress.com/2013/05/siteactions11.jpg?w=416&#038;h=106" width="416" height="106" /></a> </span></p>
<p>&nbsp;</p>
<div></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zsharepoint.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zsharepoint.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=11&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=yaX4UZo1I1w:kZHEwVEEuk4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=yaX4UZo1I1w:kZHEwVEEuk4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=yaX4UZo1I1w:kZHEwVEEuk4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=yaX4UZo1I1w:kZHEwVEEuk4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=yaX4UZo1I1w:kZHEwVEEuk4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=yaX4UZo1I1w:kZHEwVEEuk4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=yaX4UZo1I1w:kZHEwVEEuk4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=yaX4UZo1I1w:kZHEwVEEuk4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ZachRosenfield/~4/yaX4UZo1I1w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-styling-the-site-actions-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/9adc37631f9b85ae8e47298ec70df2af?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">zrosenfield</media:title>
		</media:content>

		<media:content url="http://zsharepoint.files.wordpress.com/2013/05/siteactions41.jpg?w=300" medium="image">
			<media:title type="html">siteactions4[1]</media:title>
		</media:content>

		<media:content url="http://zsharepoint.files.wordpress.com/2013/05/siteactions21.jpg?w=116" medium="image">
			<media:title type="html">siteactions2[1]</media:title>
		</media:content>

		<media:content url="http://zsharepoint.files.wordpress.com/2013/05/siteactions31.jpg?w=133" medium="image">
			<media:title type="html">siteactions3[1]</media:title>
		</media:content>

		<media:content url="http://zsharepoint.files.wordpress.com/2013/05/siteactions11.jpg" medium="image">
			<media:title type="html">siteactions1[1]</media:title>
		</media:content>
	<feedburner:origLink>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-styling-the-site-actions-menu/</feedburner:origLink></item>
		<item>
		<title>Cool PowerShell Profile Tricks</title>
		<link>http://feedproxy.google.com/~r/ZachRosenfield/~3/PXZ110DvvQI/</link>
		<comments>http://zsharepoint.wordpress.com/2013/05/15/cool-powershell-profile-tricks/#comments</comments>
		<pubDate>Wed, 15 May 2013 05:25:11 +0000</pubDate>
		<dc:creator>zrosenfield</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zsharepoint.wordpress.com/?p=9</guid>
		<description><![CDATA[I wanted to quickly share some of the cool Profile tips I’ve started using.  Some of these are one’s I’ve come across online, so I can’t take credit for them [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=9&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span style="font-family:Calibri;font-size:medium;">I wanted to quickly share some of the cool Profile tips I’ve started using.  Some of these are one’s I’ve come across online, so I can’t take credit for them all!  A lot of them are driven by the fact that I have one profile I use on all my machines – so the script needs to be flexible.</span></p>
<p><b><span style="font-size:medium;"><span style="font-family:Calibri;">Snap-In Loader</span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">Add this little bit to load all the Snap-ins you regularly use.  It will only try to install one’s that are installed, so if you have different sets available on each machine there won’t be any error messages.</span></p>
<p>$snapins = “PowerGadgets”,&#8221;PowerPad&#8221;, &#8220;ZachsCmdlets&#8221;</p>
<p>$snapins | ForEach-Object {  if ( Get-PSSnapin -Registered $_ -ErrorAction SilentlyContinue ) {  Add-PSSnapin $_  -ErrorAction SilentlyContinue }  }</p>
<p>&nbsp;</p>
<p><b><span style="font-size:medium;"><span style="font-family:Calibri;">BootStrap Folder</span></span></b></p>
<p><span style="font-size:medium;"><span style="font-family:Calibri;">I wanted to have a folder that I could organize all my “Random Functions” into that would still get loaded into the PowerShell session (the Profile document gets too large to manage otherwise!).  </span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">The File location:</span></p>
<p>$myscripts = “C:/somelocation/scripts/bootstrap/”</p>
<p>ls $myscripts |% { &amp;&#8221;$myscripts /$_&#8221; }</p>
<p>&nbsp;</p>
<p><span style="font-family:Calibri;font-size:medium;">*Important NOTE:  Inside the bootstrap files, any function or variable you want available in the session needs to be declared using the “global” moniker:</span></p>
<p>E.g.:  $global:myvar</p>
<p>E.g.:  global:myFunction(){ return “foo” }</p>
<p>&nbsp;</p>
<p><b><span style="font-size:medium;"><span style="font-family:Calibri;">Recursive Lookup</span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">Want to filter files recursively?  Use this FF function (it’s sort of my own shout-out to my previous favorite bash):</span></p>
<p>function global:ff ([string] $glob) { get-childitem -recurse -include $glob }</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zsharepoint.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zsharepoint.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=9&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=PXZ110DvvQI:CJdaqBh__U4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=PXZ110DvvQI:CJdaqBh__U4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=PXZ110DvvQI:CJdaqBh__U4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=PXZ110DvvQI:CJdaqBh__U4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=PXZ110DvvQI:CJdaqBh__U4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=PXZ110DvvQI:CJdaqBh__U4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=PXZ110DvvQI:CJdaqBh__U4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=PXZ110DvvQI:CJdaqBh__U4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ZachRosenfield/~4/PXZ110DvvQI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zsharepoint.wordpress.com/2013/05/15/cool-powershell-profile-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/9adc37631f9b85ae8e47298ec70df2af?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">zrosenfield</media:title>
		</media:content>
	<feedburner:origLink>http://zsharepoint.wordpress.com/2013/05/15/cool-powershell-profile-tricks/</feedburner:origLink></item>
		<item>
		<title>PowerShell Demo Tools</title>
		<link>http://feedproxy.google.com/~r/ZachRosenfield/~3/KqFmVpJU0UU/</link>
		<comments>http://zsharepoint.wordpress.com/2013/05/15/powershell-demo-tools/#comments</comments>
		<pubDate>Wed, 15 May 2013 05:24:32 +0000</pubDate>
		<dc:creator>zrosenfield</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zsharepoint.wordpress.com/?p=7</guid>
		<description><![CDATA[Several people who attended my PowerShell talk at SPC09 have been asking for the “Start-Demo” Script I used to demo PowerShell commands without having to type them in front of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=7&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span style="font-family:Calibri;font-size:medium;">Several people who attended my PowerShell talk at SPC09 have been asking for the “Start-Demo” Script I used to demo PowerShell commands without having to type them in front of a live audience.  The script I used is really just a slightly modified version of this one </span><a href="http://blogs.msdn.com/powershell/archive/2007/06/03/new-and-improved-start-demo.aspx"><span style="font-family:Calibri;font-size:medium;">http://blogs.msdn.com/powershell/archive/2007/06/03/new-and-improved-start-demo.aspx</span></a><span style="font-size:medium;"><span style="font-family:Calibri;"> &#8212; i recommend just using the version provided by the PowerShell team.</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;"> </span></p>
<p><span style="font-family:Calibri;font-size:medium;">Also, I recommend pairing this with the Sysinternals tool ZoomIt to allow for zooming and underlining elements on the screen.  This is a free tool available from the Sysinternals website: </span><a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx"><span style="font-family:Calibri;font-size:medium;">http://technet.microsoft.com/en-us/sysinternals/default.aspx</span></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zsharepoint.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zsharepoint.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=7&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=KqFmVpJU0UU:h6YepvB4I7s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=KqFmVpJU0UU:h6YepvB4I7s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=KqFmVpJU0UU:h6YepvB4I7s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=KqFmVpJU0UU:h6YepvB4I7s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=KqFmVpJU0UU:h6YepvB4I7s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=KqFmVpJU0UU:h6YepvB4I7s:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=KqFmVpJU0UU:h6YepvB4I7s:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=KqFmVpJU0UU:h6YepvB4I7s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ZachRosenfield/~4/KqFmVpJU0UU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zsharepoint.wordpress.com/2013/05/15/powershell-demo-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/9adc37631f9b85ae8e47298ec70df2af?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">zrosenfield</media:title>
		</media:content>
	<feedburner:origLink>http://zsharepoint.wordpress.com/2013/05/15/powershell-demo-tools/</feedburner:origLink></item>
		<item>
		<title>SharePoint 101: Managed Paths</title>
		<link>http://feedproxy.google.com/~r/ZachRosenfield/~3/-dT8Cgk-Me0/</link>
		<comments>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-managed-paths/#comments</comments>
		<pubDate>Wed, 15 May 2013 05:19:24 +0000</pubDate>
		<dc:creator>zrosenfield</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zsharepoint.wordpress.com/?p=4</guid>
		<description><![CDATA[I often get asked &#8220;What is a managed path?&#8221; and thought it would make for a good blog post. However, first I must disambiguate a couple common SharePoint terms. For [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=4&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I often get asked &#8220;What is a managed path?&#8221; and thought it would make for a good blog post. However, first I must disambiguate a couple common SharePoint terms. For the remainder of this post I will use Object Model (OM) terms for the following objects listed below. I&#8217;ve given a small explanation of these objects—but it is certainly not all inclusive.</p>
<ul>
<li><strong>SPWeb</strong>: These are referred to in SharePoint UI as a &#8220;Site&#8221;. SPWeb&#8217;s are a collection of user data (lists, library, docs, pages, etc.) in a database. An SPWeb belongs to one, and only one, SPSite.</li>
<li><strong>SPSite</strong>: These are referred to in SharePoint UI as a &#8220;Site Collection&#8221;. SPSites are a grouping of SPWebs that all share the same root URL. The SPWeb that lives <em>at</em> the root url of an SPSite is called the &#8220;Root Web&#8221;. SPSites have settings, but do not contain user data.</li>
</ul>
<p>SPSites have one very important feature—all SPWebs in an SPSite must be stored in the same Content Database. This is key to how we figure out what database user data is stored in.</p>
<p>Now, on to managed paths! When user types in a URL into their browser—the root domain is <a href="http://www.powerset.com/explore/semhtml/Domain_Name_System?query=how+does+dns+work?">directed through DNS</a> to a SharePoint Server (this is the easy part!). Once SharePoint gets a URL, how does it now what data to look up?! Let&#8217;s take the following url: <em><a href="http://www.foo.com/sites/foo/bar/foobar" rel="nofollow">http://www.foo.com/sites/foo/bar/foobar</a></em>. The first thing to note is that we know that the user&#8217;s data (provided he typed a valid URL in) is in an SPWeb somewhere… But where? First we need to figure out the<em> </em>&#8216;containing&#8217; SPSite so we know what database to look at—but which part of the URL gives us the address of the SPSite? <em>/sites</em>? <em>/</em>? <em>/sites/foo/bar</em>? This is where Managed Paths play their role.</p>
<p>SPSites are limited to being created <em>only </em>where a managed path is defined! For example, &#8220;(root)&#8221; is one of the default managed paths you see when creating a new web application in SharePoint (visit Central Administration -&gt; Application Management -&gt; Define Managed Paths). This means you can create one site collection at the root of the web app—in our example, this means you can have a site collection at <a href="http://foo.com" rel="nofollow">http://foo.com</a>. This is an <em>explicit</em> managed path as it means you can create only one site collection at the exact location specified.</p>
<p>Another default managed path you see is &#8220;sites&#8221;—which is a <em>wildcard </em>managed path. This allows for unlimited number of site collections to be created <em>directly under</em> the provided path (it is important to note that a site collection, and thus an SPWeb, <strong>cannot</strong> be created at this explicit url). This means I can create site collection (and only SPSites, not SPWebs) directly under this url (<a href="http://foo/sites/foo" rel="nofollow">http://foo/sites/foo</a>). This means that any additional path in the given URL is an spweb (created from the root web of this spsite). So in our example, we can split the incoming URL into four pieces to quickly look up the information:</p>
<p>&#8220;<a href="http://ww.foo.com&#038;#8221" rel="nofollow">http://ww.foo.com&#038;#8221</a>; + &#8220;/Sites&#8221; + &#8220;/Foo&#8221; + &#8220;/bar/foobar&#8221; (Web Application) + (managed path) + (SPSite) + (Web/SubWeb)</p>
<p>Whenever a URL is &#8216;received&#8217; by SharePoint, the site collection is determined by looking at the list of managed paths for a given Web Application. <em>This means SharePoint has to look at every managed path so try to limit the number of managed paths </em>(&lt;20 is highly recommended). SharePoint always matches the longest pattern possible—we&#8217;ll look at a more complicated example to explain the reason. Using the following managed paths:</p>
<ul>
<li>10 (explicit)</li>
<li>10/teams (wildcard)</li>
<li>10/howto (explicit)</li>
<li>10/howto/misc (wildcard)</li>
</ul>
<p>How do we map out URLs? Site Collections (SPSites) urls are highlighted in Bold:</p>
<ul>
<li><strong><a href="http://foo.com/10/teams/sites/" rel="nofollow">http://foo.com/10/teams/sites/</a></strong>bar</li>
<li><strong><a href="http://foo.com/10/" rel="nofollow">http://foo.com/10/</a></strong>myteam/sites/bar</li>
<li><strong><a href="http://foo.com/10/howto/" rel="nofollow">http://foo.com/10/howto/</a></strong>team1/foo</li>
<li><strong><a href="http://foo.com/10/howto/misc/team1/" rel="nofollow">http://foo.com/10/howto/misc/team1/</a></strong>foo/bar</li>
<li><strong><a href="http://foo.com/10/howto/misc/team2/" rel="nofollow">http://foo.com/10/howto/misc/team2/</a></strong>foo</li>
</ul>
<p>The key item to note is in the last three example URLs—notice that the longest managed path (10/howto/misc) takes precedence over the shorter (10/howto). Hopefully this clears up Managed Paths! I&#8217;ll end by summarizing:</p>
<ul>
<li>Managed Paths allow SharePoint to determine what portion of a given URL corresponds to the &#8220;site collection URL&#8221;.</li>
<li>Managed Paths can be defined per web application (and cannot be defined for <em>host header</em> <em>site collections</em>)</li>
<li>Managed Paths can be &#8220;Explicit&#8221; or &#8220;Wildcard&#8221;</li>
<li>Explicit Managed Paths allow a single spsite to be created at exactly the given url</li>
<li>Wildcard Manage Paths allow unlimited spsites to be created <em>under </em>the given url – no spsite can be created at exactly that URL.</li>
<li>Limit your managed paths to &lt;20 per web application</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zsharepoint.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zsharepoint.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zsharepoint.wordpress.com&#038;blog=49990997&#038;post=4&#038;subd=zsharepoint&#038;ref=&#038;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=-dT8Cgk-Me0:GvNylfEfLOo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=-dT8Cgk-Me0:GvNylfEfLOo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=-dT8Cgk-Me0:GvNylfEfLOo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=-dT8Cgk-Me0:GvNylfEfLOo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=-dT8Cgk-Me0:GvNylfEfLOo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=-dT8Cgk-Me0:GvNylfEfLOo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?i=-dT8Cgk-Me0:GvNylfEfLOo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ZachRosenfield?a=-dT8Cgk-Me0:GvNylfEfLOo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/ZachRosenfield?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ZachRosenfield/~4/-dT8Cgk-Me0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-managed-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/9adc37631f9b85ae8e47298ec70df2af?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">zrosenfield</media:title>
		</media:content>
	<feedburner:origLink>http://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-managed-paths/</feedburner:origLink></item>
	</channel>
</rss>
