<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0cDR3g9fCp7ImA9WxBWEkQ.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419</id><updated>2010-02-04T06:44:36.664-07:00</updated><title>eChef</title><subtitle type="html">Cooking up a mess o' trouble in SharePoint!</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://echef.chaosfarm.net/" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/echef" /><feedburner:info uri="echef" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fechef" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fechef" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/echef" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fechef" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><entry gd:etag="W/&quot;D0AHSHw_fCp7ImA9WxNUGUk.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-8450384477428135588</id><published>2009-11-11T06:21:00.001-07:00</published><updated>2009-11-11T06:22:19.244-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-11T06:22:19.244-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Development" /><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer" /><category scheme="http://www.blogger.com/atom/ns#" term="Personalization" /><title>SORT ‘09 Conference Presentations</title><content type="html">&lt;p&gt;For those that were able to attend the SORT conference last month, sorry for the delay in getting this code available to you, but hopefully it was worth the wait!&lt;/p&gt;  &lt;p&gt;Aaron and I appreciated the kind words in the feedback forms… Overall, the four sessions averaged a 8.5 rating, with our “Design” session getting over 9.0!&amp;#160; Thanx again!&lt;/p&gt;  &lt;p&gt;So &lt;a href="http://www.mosspit.org/downloads/DevLess.zip"&gt;here&lt;/a&gt; is the presentation and my demo notes for the “SharePoint Development without code” session.&amp;#160; Included is the source for &lt;a href="http://mindsharpblogs.com/todd/archive/2005/10/25/798.aspx"&gt;Todd Bleeker’s Style Under Cursor&lt;/a&gt; javascript.&amp;#160; Check out &lt;a href="http://sharepoint.mindsharpblogs.com/Todd/default.aspx"&gt;his site&lt;/a&gt;, he’s got a lot of other great helps for both developer and power users.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.mosspit.org/downloads/Skinning.zip"&gt;Here&lt;/a&gt; is the “Design” session.&amp;#160; I’ve included the presentation, as well as a copy of the minimal master from &lt;a href="http://www.heathersolomon.com/blog/articles/BaseMasterPages.aspx"&gt;Heather Solomon&lt;/a&gt;, and the customized master page with it’s CSS that we worked on in the demo.&amp;#160; Feel free to use it, modifying it, whatever… it’s yours!&lt;/p&gt;  &lt;p&gt;In the &lt;a href="http://www.mosspit.org/downloads/Web%20Services.zip"&gt;Web Services demo&lt;/a&gt;, we went through a LOT of material… On of the feedback rightly said that this would have been better served over a few hours rather than 45 minutes, and rightfully so!&amp;#160; I’ve included the presentation and all the source code we looked at, both the Custom Web Service and the Web Service consumer.&amp;#160; You will need to add the Microsoft.SharePoint.dll file to the External References folder to compile the code.&amp;#160; You can get this out of either the free &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=EF93E453-75F1-45DF-8C6F-4565E8549C2A&amp;amp;displaylang=en"&gt;MS WSS 3.0 download&lt;/a&gt; or from a &lt;a href="http://office.microsoft.com/en-us/sharepointserver/FX100492001033.aspx?ofcresset=1"&gt;MOSS 2007&lt;/a&gt; installation.&lt;/p&gt;  &lt;p&gt;We ended up not giving the Web Parts demo, as the majority of the audience was actually not development staff, and so held an ad-hoc Q&amp;amp;A session, talking mostly about possible solutions to specific challenges, namely Data View Web Part utilization, 3rd party add-ins, and List View Views and filtering.&amp;#160; For those interested, &lt;a href="http://www.mosspit.org/downloads/Web%20Parts.zip"&gt;here is the presentation&lt;/a&gt;.&amp;#160; It also includes the code for a SQL server Web Part Viewer.&amp;#160; Again, you’ll need to add the Microsoft.SharePoint.dll file to External References.&lt;/p&gt;  &lt;p&gt;Hope you enjoy, and thanx for participating in a great Conference!&lt;/p&gt;  &lt;p&gt;Josef Nielsen (echef)&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-8450384477428135588?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=3UqoxrI5x6Q:yC-CQ__2YM4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=3UqoxrI5x6Q:yC-CQ__2YM4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/3UqoxrI5x6Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/8450384477428135588/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=8450384477428135588" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8450384477428135588?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8450384477428135588?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/3UqoxrI5x6Q/sort-09-conference-presentations.html" title="SORT ‘09 Conference Presentations" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2009/11/sort-09-conference-presentations.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAARHo7eyp7ImA9WxJVE0U.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-142135841706652906</id><published>2009-06-30T11:59:00.001-06:00</published><updated>2009-06-30T11:59:05.403-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-30T11:59:05.403-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SLC User Group" /><title>Preliminary Results from the MOSSPit User Survey</title><content type="html">&lt;p&gt;So here are a couple of preliminary results from the &lt;a href="http://www.mosspit.org" target="_blank"&gt;MOSSPit (Utah’s SharePoint User Group)&lt;/a&gt;…&amp;#160; I found these quite interesting!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_sJ8UkqJVgZQ/SkpSZQN3hSI/AAAAAAAAADc/rZlkft2emGo/s1600-h/UG_Responsibilities%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="UG_Responsibilities" border="0" alt="UG_Responsibilities" src="http://lh5.ggpht.com/_sJ8UkqJVgZQ/SkpSZs18oII/AAAAAAAAADg/NGiZcP5SnLE/UG_Responsibilities_thumb%5B1%5D.jpg?imgmax=800" width="697" height="376" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The two largest audiences are definitely the Developer (#1) and the Farm Administrator (#2).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_sJ8UkqJVgZQ/SkpSZzrmr7I/AAAAAAAAADk/B20mpqTNjyY/s1600-h/UG_Intrests%5B5%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="UG_Intrests" border="0" alt="UG_Intrests" src="http://lh5.ggpht.com/_sJ8UkqJVgZQ/SkpSaBvGlZI/AAAAAAAAADo/2x23_CwnSZ8/UG_Intrests_thumb%5B3%5D.jpg?imgmax=800" width="698" height="761" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Again, Development appears to be one of the biggest interests within the User Group.&amp;#160; Additionally, SharePoint Designer (#2) and Web Services (#3) were of high interest.&amp;#160; In 4th place there was a 4-way tie between Automation and Scripting, InfoPath Forms, Security, and SQL Server Reporting Services.&amp;#160; Overall, there was a fair amount of interest across the board on most topics, however.&lt;/p&gt;  &lt;p&gt;If you are in the Utah area, and want to participate in the &lt;a href="http://tinyurl.com/mosspitsurvey2009" target="_blank"&gt;MOSSPit Survey&lt;/a&gt;, check it out and let us know what you think!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-142135841706652906?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=c_HZ1KrazoI:fndBh1xyf2k:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=c_HZ1KrazoI:fndBh1xyf2k:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/c_HZ1KrazoI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/142135841706652906/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=142135841706652906" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/142135841706652906?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/142135841706652906?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/c_HZ1KrazoI/preliminary-results-from-mosspit-user.html" title="Preliminary Results from the MOSSPit User Survey" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2009/06/preliminary-results-from-mosspit-user.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkECQnkzeip7ImA9WxJRF0s.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-5617133155456923220</id><published>2009-05-19T13:06:00.002-06:00</published><updated>2009-05-19T13:17:43.782-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-19T13:17:43.782-06:00</app:edited><title>April MOSS Pit Presentation...</title><content type="html">We had a great presentation last month from Doug Davis, the Product Director for SharePoint at Quest Software at the Utah SharePoint Users Group.  He utilized a slide Deck of some infamy that Joel Oleson has presented numberous times.  You can get a copy of it from the &lt;a href="http://www.mosspit.org/downloads/bestpracticeseurope-10stepstosuccessfuldeployments.pptx"&gt;MOSSPit&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This upcomming month we will be fortunate enough to hear from Ryan Day, of &lt;a href="http://intermountainhealthcare.org/"&gt;IHC&lt;/a&gt;.  Ryan will be showing us how to do some pretty cool stuff with the "out-of-the-box" SharePoint Web Parts.  There will also be food and great give-aways!  Don't miss it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-5617133155456923220?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=t8nitKP8fWc:kugEcVw30QE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=t8nitKP8fWc:kugEcVw30QE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/t8nitKP8fWc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/5617133155456923220/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=5617133155456923220" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5617133155456923220?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5617133155456923220?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/t8nitKP8fWc/april-moss-pit-presentation.html" title="April MOSS Pit Presentation..." /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2009/05/april-moss-pit-presentation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAHQn8_fCp7ImA9WxVaFkg.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-1071146775009541042</id><published>2009-04-13T14:15:00.001-06:00</published><updated>2009-04-13T14:15:33.144-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-13T14:15:33.144-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SLC User Group" /><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>MOSS Pit (Utah SPUG) Workflow Presentation</title><content type="html">&lt;p&gt;Adam recently got us an updated copy of the presentation he gave last month for the MOSS Pit, the Utah SharePoint User Group.&amp;#160; You can get a copy of it &lt;a href="http://www.mosspit.org/downloads/Adam.Burden%20MOSSPit%20SharePoint%20Designer%20Workflows.pptx" target="_blank"&gt;here&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;He also sent in a great write up on the presentation he gave with Screenshots and he detailed what went wrong at the end of the presentation, and how to avoid it yourselves!&amp;#160; Check out a copy &lt;a href="http://www.mosspit.org/downloads/Adam.Burden%20Workflow%20Demo%20Follow%20up.docx" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Thanx Adam!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-1071146775009541042?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=I9dxIYjANHQ:cFwf4EbT5Qg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=I9dxIYjANHQ:cFwf4EbT5Qg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/I9dxIYjANHQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/1071146775009541042/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=1071146775009541042" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1071146775009541042?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1071146775009541042?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/I9dxIYjANHQ/moss-pit-utah-spug-workflow.html" title="MOSS Pit (Utah SPUG) Workflow Presentation" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2009/04/moss-pit-utah-spug-workflow.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MCRnc8fSp7ImA9WxVVEU0.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-8756920212458537563</id><published>2009-03-03T12:44:00.001-07:00</published><updated>2009-03-03T12:44:27.975-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-03T12:44:27.975-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SLC User Group" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>MOSSPit Branding Presentation</title><content type="html">&lt;p&gt;Today I presented at the &lt;a href="http://www.mosspit.org"&gt;Salt Lake City SharePoint User Group&lt;/a&gt; on SharePoint Branding... I've included my slide deck, and some of my speaking notes in the slides &lt;a href="http://www.mosspit.org/downloads/josef.nielsen.MOSSPit%20Design%20Presentation.pptx"&gt;here&lt;/a&gt;, if you'd like a copy.&lt;/p&gt;  &lt;p&gt;The 4 categories hit upon (high level, with a few specific examples) were Out-of-Box Styling, Theme Modifications, CSS Override, and Custom Master pages and CSS.&lt;/p&gt;  &lt;p&gt;Thanx to the whole MOSSPit crew for pulling together the meeting, and supporting this communitee effort!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-8756920212458537563?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=zGjru66a0QM:ALSpCFlXrZs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=zGjru66a0QM:ALSpCFlXrZs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/zGjru66a0QM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/8756920212458537563/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=8756920212458537563" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8756920212458537563?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8756920212458537563?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/zGjru66a0QM/mosspit-branding-presentation.html" title="MOSSPit Branding Presentation" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2009/03/mosspit-branding-presentation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ADQHk7eip7ImA9WxRUEE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-5841398069487497314</id><published>2008-11-18T11:09:00.001-07:00</published><updated>2008-11-18T11:09:31.702-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-18T11:09:31.702-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Excel Services and Web Gardens</title><content type="html">&lt;p&gt;I haven't seen too much on this, and it caused me some pain, so I thought I'd share...&amp;#160; We use very large Web Servers (24GB) with &lt;a target="_blank" href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx?mfr=true"&gt;Web Gardens&lt;/a&gt; to utilize all that memory.&amp;#160; &lt;/p&gt;  &lt;p&gt;The problem comes in with Shared Services.&amp;#160; Most Shared Services operate perfectly fine in a Web Garden.&amp;#160; Excel Services, specifically with Charting, is an exception.&amp;#160; For some reason, perhaps performance related, ECS will generate Charts using two separate requests to the Shared Services, one for the workbook, on for the Chart Image.&amp;#160; &lt;/p&gt;  &lt;p&gt;The problem is that when sending in the second request, more likely than not you will get a difference process thread in the Web Garden than your original request.&amp;#160; This creates a disconnect, as they are not separate autonomous requests, but are linked.&lt;/p&gt;  &lt;p&gt;The result is a wonderful ECS error on your page that says &amp;quot;Failed to Download Excel Services Chart&amp;quot;.&amp;#160; This is backed up by MOSS log files that indicate that a &amp;quot;SOAP exception occurred&amp;quot; during &amp;quot;ExceuteWebMethod&amp;quot; in GetImage.&amp;#160; The actual error will show as a session timeout (because of inactivity).&lt;/p&gt;  &lt;p&gt;The fix is simple.&amp;#160; Shared Services cannot have multiple threads.&amp;#160; You can set this in the properties of the Application Pool.&amp;#160; Just go to your IIS manager (on each WFE server) and right-click the Application Pool for Shared Services.&amp;#160; On the Performance Tab, change the Threads value back to &amp;quot;1&amp;quot;.&amp;#160; No more Web Garden for Shared Services.&amp;#160; You can Web Garden your Content Web Apps without and surprises, just not your Shared Services.&lt;/p&gt;  &lt;p&gt;You can see the full Log entries in this &lt;a target="_blank" href="http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85"&gt;Discussion Board&lt;/a&gt;...&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-5841398069487497314?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=6oJJHTIbhII:Y1ii5jCHEZs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=6oJJHTIbhII:Y1ii5jCHEZs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/6oJJHTIbhII" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/5841398069487497314/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=5841398069487497314" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5841398069487497314?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5841398069487497314?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/6oJJHTIbhII/excel-services-and-web-gardens.html" title="Excel Services and Web Gardens" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/11/excel-services-and-web-gardens.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08HR3c-fip7ImA9WxRVFE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-7148258191210275657</id><published>2008-11-11T13:34:00.001-07:00</published><updated>2008-11-11T13:37:16.956-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-11T13:37:16.956-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation" /><title>Automated Farm Installations, part 3</title><content type="html">&lt;p&gt;So here is the last installment in this series, the Extra's...&amp;#160; In &lt;a href="http://echef.chaosfarm.net/2008/09/automated-farm-installations-part-1.html"&gt;Part 1&lt;/a&gt; we installed the product and did the base configuration... In &lt;a href="http://echef.chaosfarm.net/2008/10/automated-farm-installations-part-2.html"&gt;Part 2&lt;/a&gt; we configured the SharePoint Server Shared Services and got rid of that annoying Red warning test on the Central Admin Site.&amp;#160; In this installment, we are going to look at above and beyond functions, like:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Creating additional Web Apps &lt;/li&gt;    &lt;li&gt;Enabling Self-Service Creation &lt;/li&gt;    &lt;li&gt;Alternate Access Mappings &lt;/li&gt;    &lt;li&gt;Managed Paths &lt;/li&gt;    &lt;li&gt;Installing Features and/or WebPart Packs &lt;/li&gt;    &lt;li&gt;Attaching Content DBs &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Creating additional Web Apps is very simple.&amp;#160; We use the same command we used earlier, &lt;a href="http://echef.chaosfarm.net/2008/10/automated-farm-installations-part-2.html"&gt;ExtendVS&lt;/a&gt;.&amp;#160; This is valuable in many places.&amp;#160; For a new farm, you can have it create your root web as well, although this is generally something I recommend against.&amp;#160; The reason is that configuring your Web Application Creation Scripts without the Root Web prepares your script for Disaster Recovery in the future.&amp;#160; &lt;/p&gt;  &lt;p&gt;If you have existing content and are using your install scripts to recover, you must make sure that you do NOT create the root web... Doing so will prevent the ability to recover your original root web via attaching Content DBs.&amp;#160; I use this as a standard, and manually create the Site Collections (either via GUI or STSADM Script with &lt;a href="http://technet.microsoft.com/en-us/library/cc262594.aspx"&gt;CreateSite&lt;/a&gt; or &lt;a href="http://technet.microsoft.com/en-us/library/cc262407.aspx"&gt;CreateSiteInNewDb&lt;/a&gt;).&lt;/p&gt;  &lt;p&gt;Again, if you are preparing your script for DR, I recommend creating the Web App with a dummy Content DB, and adding a command to remove that DB at the end of the script, after your attach DB command(s).&amp;#160; If you want to remove that DB manually, make sure you add a comment at the end of your DR script to remind yourself, or you may be in for a surprise a few days after a DR recovery!&lt;/p&gt;  &lt;p&gt;Self-Service Creation is for &amp;quot;team&amp;quot; or self-provisioned environments, and is enabled using the EnableSSC command:&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o enablessc -url &lt;a href="http://sharepoint.domainname.pri:80"&gt;http://sharepoint.domainname.pri:80&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This is handy to enable automatically on setup, but for DR purposes, you have to remember that this cannot be enabled unless the root web exists.&amp;#160; If recovering Content DBs, you need to create the Web App with no Root Web, Reconnect the Content DB(s), and then enable SSC, once the Root Web is online again.&lt;/p&gt;  &lt;p&gt;As you setup your Web Applications, it is good to configure any Alternate Access Mappings you may need (ie, Extranet, Intranet, etc.)&amp;#160; The AAM can be configured per Web App by script using the AddAlternateDomain command, which looks a bit like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o addalternatedomain -url &lt;/font&gt;&lt;a href="http://sharepoint.domainname.pri:80"&gt;&lt;font face="Courier New"&gt;http://sharepoint.domainname.pri:80&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; -incomingurl &lt;/font&gt;&lt;a href="http://intranet:80"&gt;&lt;font face="Courier New"&gt;http://intranet:80&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; -urlzone intranet&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Which would allow your SharePoint site to respond to &lt;a href="http://intranet"&gt;http://intranet&lt;/a&gt; as well as &lt;a href="http://sharepoint.domainname.pri"&gt;http://sharepoint.domainname.pri&lt;/a&gt;.&amp;#160; This does not do anything for name resolution though.&amp;#160; All DNS/NetBIOS resolution is still up to you to configure on your network, this just allows SharePoint to respond to it when it reaches your servers.&amp;#160; A number of different &amp;quot;urlzone&amp;quot; parameters can be used here, including intranet, internet, and extranet.&lt;/p&gt;  &lt;p&gt;In the same vein, configuring the Managed Paths of a Web App are also important.&amp;#160; Including all Wildcard Inclusions or Explicit Exclusions will save you time and heartache, especially in the case of minimal documentation.&amp;#160;&amp;#160; Reattaching a Content DB with a Site that lives on a Managed Path that is not configured will not appear accessible until the path has been added to the Web App.&amp;#160; I strongly recommend making each Managed Path change by script (rather than manual) and adding that to your master DR script as your first form of documentation.&amp;#160; Additional environmental documentation is definitely desirable, however, if you are religious about your inclusion of all farm configuration changes to your DR script, you now have enough to get by.&lt;/p&gt;  &lt;p&gt;Managed Paths are modified using the &amp;quot;AddPath&amp;quot; command.&amp;#160; It looks something like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o addpath -url &lt;/font&gt;&lt;a href="http://sharepoint.domainname.pri:80/project"&gt;&lt;font face="Courier New"&gt;http://sharepoint.domainname.pri:80/project&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; -type wildcardinclusion&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Also make sure to remove the &amp;quot;sites&amp;quot; wildcard inclusion if you don't normally use it, or you will find they sprout up quickly in an SSC environment.&lt;/p&gt;  &lt;p&gt;With all the Web Apps created and configured, you are almost ready to attach Content DBs.&amp;#160; Before doing that, you should install any solutions required by your farm.&amp;#160; Installing solutions (and deploying them) is something that, like Managed Paths, should always be carefully documented.&amp;#160; I include all custom code (non-OOB software) in this category.&amp;#160; If there is a Feature-set that is a commercial product with a full installer, I put a set of comments detailing what versions and service packs of that product are installed, with an echo line to remind the script-runner that there is additional activities required at that point.&amp;#160; If it is required prior to the content being restored (or earlier in the process), I recommend inserting the echo statement with a pause.&amp;#160; The ideal would be a silent install option scripted right in, but that is not always possible.&lt;/p&gt;  &lt;p&gt;For those third-party and home-grown Feature-sets that are compiled in to SharePoint Solutions, you can install them with the &amp;quot;AddSolution&amp;quot; command, and deploy them with the &amp;quot;DeploySolution&amp;quot; command:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o addsolution -filename MyCustomFeature.wsp      &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o deploysolution -name MyCustomFeature.wsp -url &lt;/font&gt;&lt;a href="http://ldsteams.ldschurch.org:80"&gt;&lt;font face="Courier New"&gt;http://sharepoint.domainname.pri:80&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; -force -immediate&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Lastly, attach your Content DBs to your farm again using the &amp;quot;AddContentDb&amp;quot; command.&amp;#160; I strongly recommend issuing an IISReset command prior to this to make sure all changes have taken affect.&amp;#160; the Command is formatted like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o addcontentdb -url &lt;/font&gt;&lt;a href="http://ldsteams.ldschurch.org:80"&gt;&lt;font face="Courier New"&gt;http://sharepoint.domainname.pri:80&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; -databasename WSS_Portal_Content_01 -databaseserver DBServerName\NamedInstance -sitewarning 50 -sitemax 70&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This can also be used to deploy schema changes with less farm disruption for larger farms... When deploying schema change patches and service packs, the first node must finish updating the entire farm before things come back online.&amp;#160; This can take hours for larger databases, even on big hardware.&amp;#160; To minimize this impact, the DB's can be removed from the Web App, taking all the sites offline, then the patches can be applied, then the DB's can be re-attached.&amp;#160; this updates the schema in the Content DBs one at a time, bringing each online and accessible after it has finished the update.&amp;#160; Although the total time is about the same, the downtime for the farm is less, as you can selectively bring the most critical data online first and roll-through the DBs in a business-criticality order.&lt;/p&gt;  &lt;p&gt;Well, this does it for the automated installation series... Hopefully your gotten something useful out of it, as I did while learning about this process.&amp;#160; If you want to automate the process of making these scripts, take a look at the CodePlex project I've been working on for this... It is still in an Alpha state, but try it out and see what you think:&lt;/p&gt;  &lt;p&gt;&lt;a target="_blank" href="http://www.codeplex.com/nsot"&gt;NSOT SharePoint Office Server Installation Script Generator&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-7148258191210275657?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=dDqgzmOv4CY:SsMDzVQTUuA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=dDqgzmOv4CY:SsMDzVQTUuA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/dDqgzmOv4CY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/7148258191210275657/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=7148258191210275657" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/7148258191210275657?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/7148258191210275657?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/dDqgzmOv4CY/automated-farm-installations-part-3.html" title="Automated Farm Installations, part 3" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/11/automated-farm-installations-part-3.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QDSHo_eip7ImA9WxRVFE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-237495877511228102</id><published>2008-10-01T11:36:00.001-06:00</published><updated>2008-11-11T13:29:39.442-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-11T13:29:39.442-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="MySites" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation" /><title>Automated Farm Installations, part 2</title><content type="html">&lt;p&gt;In &lt;a target="_blank" href="http://echef.chaosfarm.net/2008/09/automated-farm-installations-part-1.html"&gt;part 1&lt;/a&gt; I went over some of the basics of why an automated installation is a good idea for not only Development and testing labs, but for QA/Staging environments and even Production.&lt;/p&gt;  &lt;p&gt;Part 1 detailed the initial steps in creating a farm, including the scripted installation of the product (copying the binaries) and initial configuration (setting up the farm).&amp;#160; In this section, I'm going to talk about the different steps required to finish the installation, or the user configuration.&amp;#160; These are the parts of the farm setup that are not done by the wizard if you install SharePoint manually, but are required to &amp;quot;complete&amp;quot; your installation.&lt;/p&gt;  &lt;p&gt;One of the things that always seems to annoy developers is that nagging message on the Central Admin page that says in Red &amp;quot;Your Farm is not configured properly!&amp;quot; (I think it is actually stated nicer, but I haven't seen it for a while).&amp;#160; These are the steps that are required to make that go away, and &amp;quot;complete&amp;quot; the installation of MOSS.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Indexing/Search&lt;/em&gt; - You must configure the Index Server options so you have both the crawl and query functions active in the farm.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Shared Service Provider(s)&lt;/em&gt; - you must install and configure at least 1 Shared Service Provider.&amp;#160; This is the service mechanism used by MOSS to provide User Profiles, Indexing, and other Shared Services, such as BDC, Excel Calculation Services, Forms Server, and Web Rendering.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;em&gt;Outbound SMTP Server&lt;/em&gt; - you must configure the Outbound mail SMTP address for the farm so it knows how to communicate with users and admins.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Excel Calculation Services&lt;/em&gt; - You have to enable the ECS role on at least one server in the farm.&amp;#160; This allows Excel sheets to be web-rendered.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;1st:&lt;/strong&gt; Required steps to configure Index Server&lt;/u&gt; &lt;/p&gt;  &lt;p&gt;The Index server is made up of two services, the WSS Search Service, which searches help content, and the MS Office SharePoint Server Search service, which searches user content and other sources.&amp;#160; These can be configured with simple STSADM commands.&lt;/p&gt;  &lt;p&gt;First, configure the Windows SharePoint Services Indexing Service.&amp;#160; &lt;em&gt;This needs to be done on the server that will hold this role.&lt;/em&gt;&amp;#160; This is done with the STSADM SPSearch command:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o spsearch -action start -farmserviceaccount domain\searchaccount -farmservicepassword Password&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;The parameters mean the following:&lt;/p&gt;  &lt;p&gt;-action start: gives the directive to start the indexing on this server.&lt;/p&gt;  &lt;p&gt;-farmserviceaccount and -farmservicepassword: The identity and password for searching.&amp;#160; This does not have to be your Farm Admin account.&lt;/p&gt;  &lt;p&gt;Second, configure the Office SharePoint Server Indexing Service using the STSADM OSearch command, again, &lt;em&gt;on the server that will hold this role&lt;/em&gt;, like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o osearch -action start -role indexquery -farmcontactemail admin@SharePoint.pri -farmserviceaccount domain\searchaccount -farmservicepassword Password -defaultindexlocation d:\index&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;And the parameter descriptions:&lt;/p&gt;  &lt;p&gt;-action start: again, the action tells the service that this farm member will be starting this role.&lt;/p&gt;  &lt;p&gt;-role x: The role is what part of the search functions will be running on this machine.&amp;#160; you can specify index, query, or indexquery for both roles.&amp;#160; For those unfamiliar with this terminology, indexing is the crawling portion of the search role, that will search web pages and create indexes to be searched.&amp;#160; Querying is the user-request side of the index service, the side that handles all search requests from a user and provides a list of results.&amp;#160; My example shows both roles being assigned, however you can separate these by using this command on multiple servers in the farm with the role specified.&amp;#160; An example might be to make all your load balanced Web Front End (WFE) servers Query servers, to handle user requests.&lt;/p&gt;  &lt;p&gt;-farmcontactemail: the email address of the admin for the farm.&lt;/p&gt;  &lt;p&gt;-farmserviceaccount and -farmservicepassword: the identity information for the indexing service.&lt;/p&gt;  &lt;p&gt;-defaultindexlocation: the location for all the locally stored index files, used to add index results by the index role, or to parse results by the query role.&lt;/p&gt;  &lt;p&gt;And that's all there is to it.&amp;#160; you now have a functional indexing service installed.&amp;#160; One thing to note is that this does not configure the actual crawling of content, just the infrastructure to support crawling.&amp;#160; you must still specify any custom content sources and crawl schedules in the SSP admin console.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;2nd:&lt;/strong&gt; Required Steps to Install the Shared Service Provider.&lt;/u&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;Here is what is required to install an SSP:&lt;/p&gt;  &lt;p&gt;1) A Web App for the SSP&lt;/p&gt;  &lt;p&gt;2) A Web App for MySites (can be a bogus/mock one if you do not plan to deploy MySites)&lt;/p&gt;  &lt;p&gt;3) Configure the SSP&lt;/p&gt;  &lt;p&gt;Frist, to script the creation of the Web Apps, we turn to the STSADM command ExtendVS, and it ends up looking something like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o extendvs -url http://SharePointServer:9100 -ownerlogin domain\SPFarmAdmin -owneremail mossadmin@domain.com -exclusivelyusentlm -donotcreatesite -description &amp;quot;SSP - 9100&amp;quot; -databasename SSP_Content -apidname &amp;quot;SSP - 9100&amp;quot; -apidtype configurableid -apidlogin domain\WebAppAccount -apidpwd Password&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;So here's what it means...&amp;#160; ExtendVS is the STSADM command for creating WebApps.&amp;#160; It is used for both extending existing ones in IIS, as well as creating new ones.&amp;#160; The primary difference is whether it already exists in the metabase as a Web App, or if it is an unknown name.&amp;#160; Here are the parameters described:&lt;/p&gt;  &lt;p&gt;-url: this is the url and port for the Web App. If no port is specified it does default to 80.&amp;#160; By default this will not create a host header, just the URL of the Web App.&lt;/p&gt;  &lt;p&gt;-ownerlogin: this is the owner of the Web App... I've heard various theories on who this should be, but I prefer this to always be the Farm Admin Account that you use to create the farm.&lt;/p&gt;  &lt;p&gt;-owneremail: same as above, really.&amp;#160; Just contact info.&lt;/p&gt;  &lt;p&gt;-exclusivelyusentlm: this is for the security level on the Web App.&amp;#160; If you will be setting up Kerberos, then you do not want this option, however if that is a long way off, or possibly never, use this flag.&lt;/p&gt;  &lt;p&gt;-donocreatesite: by default the ExtendVS comand creates a Site Collection at the root (&amp;quot;/&amp;quot;).&amp;#160; For MySites and SSPs, this will break the WebApp so it cannot be used correctly, so you need this flag.&amp;#160; This is also handy if you are scripting for DR or restoration purposes, in which case you already have a root site you will want to restore later, so do not want another one to conflict.&lt;/p&gt;  &lt;p&gt;-description: the description of the Web Application&lt;/p&gt;  &lt;p&gt;-database: the name of the content DB to be created (this cannot be an existing DB.&amp;#160; Add existing DB's using the addcontentdb function detailed in the upcoming part 3 installment of this series).&lt;/p&gt;  &lt;p&gt;-apidname: this is the name of the App Pool for the Web App.&lt;/p&gt;  &lt;p&gt;-apidtype: this is either configurableid or networkservice, depending on what credentials you want the app pool to run under.&amp;#160; In most cases this will be configurableid.&lt;/p&gt;  &lt;p&gt;-apidlogin and apidpwd: the app pool login and password.&lt;/p&gt;  &lt;p&gt;-sethostheader: this one isn't in the example above, but is handy for setting the host header values for the web app based on the url parameter.&lt;/p&gt;  &lt;p&gt;So after creating a Web App for the SSP, you'll need to repeat the process for a Web App for your MySites.&amp;#160; Both these Web Apps need to be created prior to establishing your SSP.&amp;#160; Typically in a &amp;quot;more-secure&amp;quot; model you would use separate identities for the Farm Admin, the SSP Web App and the MySite Web App.&lt;/p&gt;  &lt;p&gt;To create the SSP itself, once both the SSP and MySite Web Apps are created, you will use the CreateSSP STSADM operation.&amp;#160; Here is an example of the function:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm -o createssp -title &amp;quot;Shared Service Provider&amp;quot; -url &lt;/font&gt;&lt;font face="Courier New"&gt;http://SharePointServer:9900&lt;/font&gt;&lt;font face="Courier New"&gt; -mysiteurl &lt;/font&gt;&lt;font face="Courier New"&gt;http://mysite.SharePoint.pri:80&lt;/font&gt;&lt;font face="Courier New"&gt; -indexserver SomeServer -indexlocation &amp;quot;d:\index&amp;quot; -ssplogin domain\SSPAccount -ssppassword Password -sspdatabasename Shared_Services -searchdatabasename SSP_Search_DB&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;So here are the parameter descriptions:&lt;/p&gt;  &lt;p&gt;-title: the title of the SSP... Make this meaningful, as you may find in larger farms that multiple SSPs are needed for a variety of reasons.&lt;/p&gt;  &lt;p&gt;-url: the url of the SSP, including the port.&amp;#160; This is usually fine for oddball ports, as almost all functions of the SSP are server requests, not user requests, so users never see the url.&lt;/p&gt;  &lt;p&gt;-mysiteurl: the url of your MySite Web App.&amp;#160; This is needed for the profile and user linkage, as well as the personalization functions of the MySite Web App.&lt;/p&gt;  &lt;p&gt;-indexserver: the server that will hold the crawl role for the SSP.&amp;#160; This does not enable the crawl role, but sets the parameters.&amp;#160; You must have the index/crawl role already configured as is noted above.&lt;/p&gt;  &lt;p&gt;-indexlocation: the physical file location of the index files on the crawl server.&lt;/p&gt;  &lt;p&gt;-ssplogin and -ssppassword: the user and password for the ssp identity.&lt;/p&gt;  &lt;p&gt;-sspdatabasename: the name used for the SSP database.&amp;#160; This is not the content DB of the Admin page for the SSP, that was specified in the Web App Extend command.&amp;#160; This is the location of SSP configuration and data (like profile details).&lt;/p&gt;  &lt;p&gt;-searchdatabasename: the name used for the index DB.&lt;/p&gt;  &lt;p&gt;Once this phase is complete, you have a functional SSP.&amp;#160; The only remaining steps to perform in the SSP that are not yet scriptable are the Profile Import to pull user profiles from a directory source (and schedule updates), and Search details.&amp;#160; Search details include the content sources and crawl schedules.&amp;#160; You'll actually find that those two functions are just about the only manual processes that need to be done in a fully scripted installation.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;3rd:&lt;/strong&gt; The Required Steps to Configure Outbound Email.&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;Outbound SMTP Email is one of the configuration settings that will give you the red &amp;quot;Your Farm is Broken!&amp;quot; warning, because outbound email is a fairly integrated part of MOSS.&amp;#160; It is used in admin notifications, user notifications for task assignment, workflows, as well as user alert subscriptions.&lt;/p&gt;  &lt;p&gt;Outbound email is configured via STSADM using the Email command.&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm.exe -o email -outsmtpserver mail.domain.pri -fromaddress SharePoint@domain.pri -replytoaddress noreply@domain.pri -codepage 65001&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;The parameters are described below:&lt;/p&gt;  &lt;p&gt;-outstpserver: This is the address or Fully Qualified Domain Name (FQDN) of your organization's SMTP Relay server.&lt;/p&gt;  &lt;p&gt;-fromaddress: This is the address that will be listed as the originator of all emails coming from SharePoint.&amp;#160; You can actually set a Web App version of this, but this is the default.&lt;/p&gt;  &lt;p&gt;-replytoaddress: This is the reply to address, which is usually a bogus address like no-reply, or leavemealone.&lt;/p&gt;  &lt;p&gt;-codepage: This is the Character Set for email encoding. Most will be using UTF-8, which is 65001.&lt;/p&gt;  &lt;p&gt;There are inbound email functions that can be set, but these are not currently scriptable, and also requires local SMTP server configuration on the server that will receive email.&amp;#160; Inbound email is a choice that many are split on.&amp;#160; There is some good functionality with it, but also some bugs and gotchas...&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;4th:&lt;/strong&gt; The Required Steps to Configure Excel Calculation Services.&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;Excel Calculation Services (ECS) need to be started on at least one server in the farm to provide calculation and web rendering for Excel Workbooks.&amp;#160; To enable ECS, use the STSADM ProvisionService command &lt;em&gt;on the server that this role will be activated on&lt;/em&gt;:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;stsadm.exe -o provisionservice -action start -servicetype &amp;quot;Microsoft.Office.Excel.Server.ExcelServerSharedWebService&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This one is very basic and straight forward, and only has two parameters, the action and the servicetype.&amp;#160; The servicetype is the namespace of the service to start.&lt;/p&gt;  &lt;p&gt;These steps will bring your MOSS farm out of the &amp;quot;Red&amp;quot; zone, and ready for use.&amp;#160; There are still many other great scriptable functions that can add to your farm configuration automatically.&amp;#160; In the next installment, I'll go over things like Alternate Access Mappings, Managed Paths, Attaching Content DBs, Deploying Features, and all sort of good stuff like that!&amp;#160; Until next time...!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-237495877511228102?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=gKJoj_gDbHs:LavKa60VStU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=gKJoj_gDbHs:LavKa60VStU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/gKJoj_gDbHs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/237495877511228102/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=237495877511228102" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/237495877511228102?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/237495877511228102?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/gKJoj_gDbHs/automated-farm-installations-part-2.html" title="Automated Farm Installations, part 2" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/10/automated-farm-installations-part-2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AARn85cCp7ImA9WxRVFE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-5578644250051730034</id><published>2008-09-15T13:30:00.001-06:00</published><updated>2008-11-11T13:35:47.128-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-11T13:35:47.128-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation" /><title>Automated Farm Installations, part 1</title><content type="html">&lt;p&gt;All the issue of this have finally been created, so here is a shortcut list to get to all three issues:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://echef.chaosfarm.net/2008/09/automated-farm-installations-part-1.html"&gt;Part 1: Farm Installation&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://echef.chaosfarm.net/2008/10/automated-farm-installations-part-2.html"&gt;Part 2: Basic Configuration&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://echef.chaosfarm.net/2008/11/automated-farm-installations-part-3.html"&gt;Part 3: Advanced Configuration and DR&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So there have been a number of posts put out on the web about automating the installation of WSS and even MOSS for development desktops and test servers, but I haven't seen much written about production farms, so here's my 2 cents.&lt;/p&gt;  &lt;p&gt;There is a huge gain waiting to be realized in repeatable, dependable process with automated installation.&amp;#160; On major gain is in Disaster Recovery.&amp;#160; Time saved in manual procedures vs. automated installation processes can be as high at 2x.&lt;/p&gt;  &lt;p&gt;Recently, in an effort to clean up some residuals surrounding a number of farm changes that were not done correctly, as well as to test our DR plans, we flattened our entire farm down to bare metal, and rebuilt.&amp;#160; In doing so, we found that we saved over 8 hours of recovery time vs. our dry runs with a manual process.&amp;#160; Our process installed MOSS, configured the basic farm options, configured some advanced options we needed in our farm, recreated all Web Apps, and reattached all content DB's (which had already been restored from tape).&lt;/p&gt;  &lt;p&gt;After executing this script, we only had two additional activities to perform which could not be scripted out-of-the-box:&amp;#160; configuring and scheduling the SSP Profile Import, and configuring the content sources and crawl schedules.&lt;/p&gt;  &lt;p&gt;So what steps are required for something like this?&amp;#160; You're in luck, because I'm going to give it to you...&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;1st:&lt;/u&gt;&lt;/strong&gt;&amp;#160; Install MOSS.&amp;#160; The easiest way to get this done is to have a local file source for installing the application on your server.&amp;#160; I like to create an &amp;quot;install&amp;quot; source on a utility server that I copy to my servers, with the x64 (or i386 if you are still 32-bit) dir along with any utility apps (I always install &lt;a target="_blank" href="http://notepad-plus.sourceforge.net/uk/site.htm"&gt;Notepad++&lt;/a&gt; and PowerShell on my servers for troubleshooting and configuration) and patches.&amp;#160; You can also include custom SharePoint Solutions or WebPart Packs.&lt;/p&gt;  &lt;p&gt;At the root of the x64/i386 folder, I create my script.&amp;#160; I start with the installation.&amp;#160; You need to make an XML document that dictates what your configuration will be.&amp;#160; It looks something like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;      &lt;br /&gt;&amp;lt;Configuration&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Package Id=&amp;quot;sts&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;LAUNCHEDFROMSETUPSTS&amp;quot; Value=&amp;quot;Yes&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;REBOOT&amp;quot; Value=&amp;quot;ReallySuppress&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;SETUPTYPE&amp;quot; Value=&amp;quot;CLEAN_INSTALL&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Package&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Package Id=&amp;quot;spswfe&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;SETUPCALLED&amp;quot; Value=&amp;quot;1&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;REBOOT&amp;quot; Value=&amp;quot;ReallySuppress&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;OFFICESERVERPREMIUM&amp;quot; Value=&amp;quot;1&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Package&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Logging Type=&amp;quot;Verbose&amp;quot; Path=&amp;quot;c:\moss_logs&amp;quot; Template=&amp;quot;Office Server Setup(*).log&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Display Level=&amp;quot;None&amp;quot; CompletionNotice=&amp;quot;no&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;PIDKEY Value=&amp;quot;Your Product ID Here&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;SERVERROLE&amp;quot; Value=&amp;quot;APPLICATION&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setting Id=&amp;quot;USINGUIINSTALLMODE&amp;quot; Value=&amp;quot;0&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;lt;/Configuration&amp;gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;You obviously need to replace your PIDKEY with whatever your licensing number is.&amp;#160; This is the XML required by a MOSS installation for an Application server.&amp;#160; By changing the &amp;quot;ServerRole&amp;quot; key to &amp;quot;WFE&amp;quot; you can install a Web Front End server.&amp;#160; You can also use the ServerRole of SINGLESERVER, but I recommend against this in most cases.&amp;#160; Single Server setups can never be expanded at all.&amp;#160; you're normally better off installing as APPLICATION, which includes the WFE and App (SSP/Admin) roles so you can add servers to the farm later.&amp;#160; If you know it will never grow, then use SINGLESERVER.&lt;/p&gt;  &lt;p&gt;You can script the installation with your xml like this: &lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;SETUP.EXE /config MySettings.xml&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This will give you the base MOSS files, without and system configuration.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;2nd:&lt;/u&gt;&lt;/strong&gt; System Configuration is done in a script using the PSCONFIG.EXE utility.&amp;#160; There are a few commands that must be used, and they are as follows:&lt;/p&gt;  &lt;p&gt;Configdb, HelpCollections, SecureResources, Services, InstallFeatures, AdminVS, and ApplicationContent.&lt;/p&gt;  &lt;p&gt;In your install script, it make life much easier if you add a pth statement like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;path %path%;&amp;quot;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;...before you start in with PSCONFIG and STSADM commands.&amp;#160; PSCONFIG will always have a &amp;quot;cmd&amp;quot; that dictates what part of the utility we are executing.&amp;#160; The first PSCONFIG command, ConfigDB is the key command for either creating, or connecting to the config database for the farm. The command looks something like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;psconfig -cmd configdb      &lt;br /&gt;&amp;#160; -create       &lt;br /&gt;&amp;#160; -server MyServerName\InstanceName       &lt;br /&gt;&amp;#160; -database MOSSFarmConfigDBName       &lt;br /&gt;&amp;#160; -user Domain\FarmAdmin       &lt;br /&gt;&amp;#160; -password FarmAdminPassword       &lt;br /&gt;&amp;#160; -admincontentdatabase MOSSCentralAdminContent&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;The key parameter's here are as follows:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Create&lt;/strong&gt;: This is to make a new DB.&amp;#160; To connect to an existing one, &amp;quot;Connect&amp;quot; would be used.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Server&lt;/strong&gt;: This is the SQL Database Server that will hold the Config DB for the Farm.&amp;#160; If it is a named instance, be sure to include the instance name.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt;: The name of the database to create or connect to.&amp;#160; If creating, it must not exist currently.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;User&lt;/strong&gt;: The name of the farm admin account that will be used to connect to the ConfigDB.&amp;#160; It needs to have permissions on the local server, as well as on the DB server.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Password&lt;/strong&gt;: The password for the farm admin account.&lt;/p&gt;  &lt;p&gt;AdminContentDatabase: The name of the admin content DB on the SQl server that houses the config DB.&lt;/p&gt;  &lt;p&gt;There are other parameters, but these are the most commonly used.&amp;#160; The AdminContentDatabase parameter is not needed on a &amp;quot;Connect&amp;quot;, and the user and password are not needed on a create for a SINGLESERVER deployment, as Network Service is used for the farm admin account.&lt;/p&gt;  &lt;p&gt;After running the ConfigDB command, a few other commands need to be issue to complete the system configuration:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;psconfig -cmd helpcollections -installall      &lt;br /&gt;psconfig -cmd secureresources       &lt;br /&gt;psconfig -cmd services -install       &lt;br /&gt;psconfig -cmd installfeatures       &lt;br /&gt;psconfig -cmd adminvs -provision -port 5555       &lt;br /&gt;&amp;#160;&amp;#160; -windowsauthprovider onlyusentlm       &lt;br /&gt;psconfig -cmd applicationcontent -install&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;There is a parameter on the AdminVS command that is handy that I like to specify (it is optional)... The -port parameter.&amp;#160; It allows you to specify which port the central admin app will live on.&amp;#160; Obviously if this is not a server that will have central admin on it, you do not run this command.&lt;/p&gt;  &lt;p&gt;Well, this ended up much longer than originally anticipated, but that is because I like to know &amp;quot;why&amp;quot;, so I added some &amp;quot;why&amp;quot;.&amp;#160; Part two will be coming soon, and will include stuff like provisioning Shared Service Providers, and creating Web Applications... Until then...&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-5578644250051730034?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=NhJsvlId2jw:RLNhRErzR7k:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=NhJsvlId2jw:RLNhRErzR7k:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/NhJsvlId2jw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/5578644250051730034/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=5578644250051730034" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5578644250051730034?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5578644250051730034?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/NhJsvlId2jw/automated-farm-installations-part-1.html" title="Automated Farm Installations, part 1" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/09/automated-farm-installations-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMHQXkzfCp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-6156260633789082888</id><published>2008-08-15T15:07:00.001-06:00</published><updated>2008-08-15T15:07:10.784-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T15:07:10.784-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Reporting" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Email Enabled List Alias Management</title><content type="html">&lt;p&gt;Ever notice that there is not way to centrally manage or get information about email aliases?&amp;#160; Oh that annoys me!&amp;#160; So I did what any self respecting geek would do, and I started taking it apart...&amp;#160; Here are a couple SQL utility scripts to help you get more out of your SharePoint!&amp;#160; Standard Disclaimer - Don't mess around with the DB... You can break stuff!&amp;#160; Now, here's the goods:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" color="#008080" size="2"&gt;-- SQL Script to find out where an Email Alias is in use &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" color="#008080" size="2"&gt;-- Written by Josef Nielsen, 2008      &lt;br /&gt;-- nielsenjl_at_ldschurch.org       &lt;br /&gt;-- &lt;/font&gt;&lt;a href="http://www.sharepointblogs.com/echef"&gt;&lt;font face="Courier New" color="#008080" size="2"&gt;http://www.sharepointblogs.com/echef&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;font color="#008080"&gt;-- Run this script against the Farm Configuration DB&lt;/font&gt;       &lt;br /&gt;SELECT [Alias], [Deleted], [SiteMap].[Path], [Objects].[Name], [ListId]       &lt;br /&gt;&amp;#160; FROM [WSS_Farm_Config].[dbo].[EmailEnabledLists]       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; INNER JOIN [SiteMap] ON [EmailEnabledLists].[SiteId] = [SiteMap].[Id]       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; INNER JOIN [Objects] ON [SiteMap].[DatabaseId] = [Objects].[Id]       &lt;br /&gt;&lt;font color="#008080"&gt;-- Change this value to the Alias you are looking for&lt;/font&gt;       &lt;br /&gt;WHERE [Alias] = 'MyEmailAlias'&amp;#160; &lt;font color="#008080"&gt;-- This is the Name part of &lt;/font&gt;&lt;font color="#008080"&gt;Name@SharePoint.server.com&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;font color="#008080"&gt;-- Run this script against the Content DB that the Site resides on&lt;/font&gt;       &lt;br /&gt;SELECT [tp_Title], [tp_ServerTemplate], [tp_ItemCount], [tp_Description], [tp_EmailInsertsFolder], [tp_EmailAlias], [tp_Fields], [tp_ContentTypes], [tp_DefaultWorkflowId]       &lt;br /&gt;FROM [WSS_ContentDB_01].[dbo].[AllLists]       &lt;br /&gt;&lt;font color="#408080"&gt;--Replace the GUID Below with the GUId of the List you are looking for        &lt;br /&gt;&lt;/font&gt;WHERE [tp_Id] = 'A4BB3401-3161-430A-B330-42143C3DE879'&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So, what do you get out of this?&amp;#160; Well, the first script, run against your Config DB will give you the managed path and site collection name where that alias is in use.&amp;#160; It will also tell you which content DB contains that site collection.&amp;#160; It also gives you a GUID for the List.&lt;/p&gt;  &lt;p&gt;In the second script, add the GUID you got for the list and run it against the Content DB that was also specified by the first script.&amp;#160; This will give you the friendly name of the list that uses this alias, as well as a few other yummy bits of data about this list.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-6156260633789082888?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=xJlw_s-226w:G-MfTkI-A14:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=xJlw_s-226w:G-MfTkI-A14:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/xJlw_s-226w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/6156260633789082888/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=6156260633789082888" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/6156260633789082888?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/6156260633789082888?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/xJlw_s-226w/email-enabled-list-alias-management.html" title="Email Enabled List Alias Management" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/email-enabled-list-alias-management.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQMQH44fip7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-6891886369439880737</id><published>2008-08-15T15:06:00.001-06:00</published><updated>2008-08-15T15:06:21.036-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T15:06:21.036-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Pre-populating Form Fields for a New Item</title><content type="html">&lt;p&gt;So for surveys and such I thought it would be nice to pre-populate a SharePoint List &amp;quot;new&amp;quot; form with some data from the link... This makes it very nice for surveys and such from users.&amp;#160; In this case it was to automate and remove error from some user feedback for our helpdesk.&amp;#160; So what I did was make the URL contain an extra parameter for a field value, then I added some JavaScript to the NewItem.aspx page in that list.&amp;#160; This script is specific to one field one (as you can tell by the long auto-ID).&amp;#160; Here is the script I used:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;#160;&amp;#160;&amp;#160; function getURLParam()      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; var strReturn = &amp;quot;null&amp;quot;;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; var strHref = window.location.href;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //find the &amp;quot;Ticket&amp;quot; parameter       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if ( strHref.indexOf(&amp;quot;?&amp;quot;) &amp;gt; -1 )       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; var strQueryString = strHref.substr(strHref.indexOf(&amp;quot;?&amp;quot;)+1);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; var aQueryString = strQueryString.split(&amp;quot;&amp;amp;&amp;quot;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; for ( var iParam = 0; iParam &amp;lt; aQueryString.length; iParam++ )       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //find the Task Parameter      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if (aQueryString[iParam].indexOf(&amp;quot;Ticket=&amp;quot;) &amp;gt; -1 )       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; var aParam = aQueryString[iParam].split(&amp;quot;=&amp;quot;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; strReturn = aParam[1];       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; break;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New" size="2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //insert parameter to Task Field      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //This should be one line, not two...       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //the field name is too big to fit in the blog window ;) &lt;/font&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Courier New" size="2"&gt;document.aspnetForm.ctl00_m_g_2a4ef5db_f38c_4101_b1e9_bd5bce3e5a04_        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_TextField.value = strReturn;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }         &lt;br /&gt;_spBodyOnLoadFunctionNames.push(&amp;quot;getURLParam&amp;quot;);&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Notice the execute line, using _spBodyOnLoadFunctionNames.&amp;#160; This is required to get the script to execute after all the content has been populated.&amp;#160; The URL to feed this function would look something like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;b&gt;&lt;u&gt;http://sharepointserver.company.pri/sites/feedback/lists/tickets/NewItem.aspx?Source=http%2A%2F%2Fsharepointserver%2Ecompany%2Epri%2Fsites%2Ffeedback%2FPages%2FThannkYou%2Easpx&amp;amp;Ticket=123456&lt;/u&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Two things to note... first, the &amp;quot;Source&amp;quot; parameter needs to be Escaped (using &amp;quot;%&amp;quot; codes for all symbols), and second, that it doesn't have to be where you came from... It is actually where you go to when you click OK or Cancel.&amp;#160; In this case, I'm sending the user to a Thank You page since they have filled out the feedback.&amp;#160; This can be anything, including a custom page with code to close the browser window if you want.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-6891886369439880737?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=UmBz6kd_dFs:uSJaphUJ7e8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=UmBz6kd_dFs:uSJaphUJ7e8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/UmBz6kd_dFs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/6891886369439880737/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=6891886369439880737" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/6891886369439880737?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/6891886369439880737?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/UmBz6kd_dFs/pre-populating-form-fields-for-new-item.html" title="Pre-populating Form Fields for a New Item" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/pre-populating-form-fields-for-new-item.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQHRnY7eyp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-8956377367387527187</id><published>2008-08-15T15:05:00.001-06:00</published><updated>2008-08-15T15:05:37.803-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T15:05:37.803-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript" /><category scheme="http://www.blogger.com/atom/ns#" term="MS-Office SharePoint Integration" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Scripting the "Connect to Outlook" function</title><content type="html">&lt;p&gt;You've got to love the &amp;quot;Actions, Connect to Outlook&amp;quot; function in SharePoint lists... Handy for offline viewing of data, nicer GUI for detail entry, etc.&amp;#160; Wouldn't it be nice to automate the connection of these things for a team or a project, or even a division or company?&lt;/p&gt;  &lt;p&gt;You can force these connections via script...&amp;#160; They are URL based using the &amp;quot;stssync://&amp;quot; protocol, which depends on the Office WSS services, a shared component of the desktop Office Suite.&amp;#160; You can find the specific call to connect a library to Outlook (much easier to let SharePoint format it that create from scratch) on any of the AllItems.aspx default list pages for a library or list that is &amp;quot;Outlook Friendly&amp;quot;, including Tasks, Calendars, and Document Libraries.&amp;#160;&amp;#160; View your page source (on an IE browser, as this is not available in other browsers) and looking for the following: &lt;/p&gt;  &lt;p&gt;&amp;lt;ie:menuitem id=&amp;quot;zz23_OfflineButton&amp;quot; &lt;/p&gt;  &lt;p&gt;There is a lot more to this element, which is jammed on a very long line containing about 6 of these &amp;lt;ie:menuitem&amp;gt; elements.&amp;#160; Specifically out of this element you want to get the &amp;quot;onMenuClick&amp;quot; action, which is a javascript call to &amp;quot;ExportHailStorm&amp;quot;.&amp;#160; You will need a copy of this function in your script as well, as this is the function that creates the stssync call.&amp;#160; It is located in the init.js file, located in 12\templates\layouts\1033 folder (for US versions)... &lt;/p&gt;  &lt;p&gt;The call to ExportHailStorm should look something like the code below, although I've added line breaks to make it readable.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;ExportHailStorm(      &lt;br /&gt;&amp;#160;&amp;#160; 'documents',       &lt;br /&gt;&amp;#160;&amp;#160; 'http:\u002f\u002fsharepoint.company.com\u002fteam\u002fsitename\u002fsandbox',       &lt;br /&gt;&amp;#160;&amp;#160; '{ac5b6eaf-744a-4f73-a2e1-6e35b81f109e}',       &lt;br /&gt;&amp;#160;&amp;#160; 'Sandbox',       &lt;br /&gt;&amp;#160;&amp;#160; 'Test Files',       &lt;br /&gt;&amp;#160;&amp;#160; '\u002fteam\u002fsitename\u002fsandbox\u002fTest\u002520Files',       &lt;br /&gt;&amp;#160;&amp;#160; '','\u002fteam\u002fsitename\u002fsandbox\u002fTest Files');&amp;quot;&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;You can use these parameters with the MS code in init.js for ExportHailStorm to make your own script with multiple connections for Outlook.&amp;#160; Each call to ExportHailStorm ends in a window.location.href call to the newly created link, which for a document library will look something like this:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;stssync://sts/?ver=1.1&amp;amp;type=documents&amp;amp;cmd=add-folder&amp;amp;base-url=http:\u002f\u002fsharepoint.company.com\u002fteam\u002fsitename\u002fsandbox&amp;amp;list-url=\u002fteam\u002fsitename\u002fsandbox\u002fTest\u002520Files&amp;amp;guid={ac5b6eaf-744a-4f73-a2e1-6e35b81f109e}&amp;amp;list-name=Test\u520Files&amp;amp;site-name=Sandbox&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;These strings can be captured and put in to a simple vbscript or powershell script or even a bat file (run iexplore.exe &amp;lt;url&amp;gt;) and executed in a post setup command, a login script, or embedded in a web page on the intranet (ie, click here to connect standard outlook folders)...&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-8956377367387527187?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=k55wZqsAo_k:HohU3jVrkrw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=k55wZqsAo_k:HohU3jVrkrw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/k55wZqsAo_k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/8956377367387527187/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=8956377367387527187" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8956377367387527187?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8956377367387527187?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/k55wZqsAo_k/scripting-to-outlook-function.html" title="Scripting the &amp;quot;Connect to Outlook&amp;quot; function" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/scripting-to-outlook-function.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4HRHc4eSp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-4680663683828105231</id><published>2008-08-15T14:42:00.001-06:00</published><updated>2008-08-15T14:42:15.931-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:42:15.931-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Mutex Mischief</title><content type="html">&lt;p&gt;To clean up an old farm from some setup errors, I recently rebuilt the farm from bare metal, re-attaching all the content DB's after the rebuild to prevent data loss.&amp;#160; Imagine my horror when after 100% successful testing, and flawless installation, the first page I pull up shows this:&lt;/p&gt;  &lt;h4&gt;&lt;i&gt;Mutex could not be created.&lt;/i&gt;&lt;/h4&gt;  &lt;p&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.     &lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.InvalidOperationException: Mutex could not be created.&lt;/p&gt;  &lt;p&gt;After some research I learned that this is an ASP.Net issue that occasionally crops up when an app pool identity (ie the Web App Service Account in SharePoint) is not a local administrator.&amp;#160; When setting the identity, access to the Windows Registry key where the IIS Mutex Key is kept is supposed to be granted (obviously not an issue for local admins).&amp;#160; If it does not have access to read this key, the above error is generated.&amp;#160; To add it, you have to modify the key and grant permissions for you identity account(s) to read that key, then close all Mutex Threads (or just reboot the server).&lt;/p&gt;  &lt;p&gt;A big thanx to Jerry Orman who documented this issue and the fix here:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://blogs.msdn.com/jorman/archive/2006/07/24/system-invalidoperationexception-mutex-could-not-be-created.aspx" href="http://blogs.msdn.com/jorman/archive/2006/07/24/system-invalidoperationexception-mutex-could-not-be-created.aspx" mce_href="http://blogs.msdn.com/jorman/archive/2006/07/24/system-invalidoperationexception-mutex-could-not-be-created.aspx"&gt;http://blogs.msdn.com/jorman/archive/2006/07/24/system-invalidoperationexception-mutex-could-not-be-created.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As a side note to any trying to implement least-permission security on a locked down server, make sure your local WSS_WPG group has full control of the Windows\Temp folder, or you'll get an odd ASP.Net Temporary files error (that points to a bogus dir).&amp;#160; The WSS_WPG group contains all your Web App Identity accounts, and is created by the SharePoint Installation.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-4680663683828105231?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=vjWndkxzme4:nPErlO7uo2I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=vjWndkxzme4:nPErlO7uo2I:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/vjWndkxzme4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/4680663683828105231/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=4680663683828105231" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/4680663683828105231?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/4680663683828105231?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/vjWndkxzme4/mutex-mischief.html" title="Mutex Mischief" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/mutex-mischief.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAHSHkzfSp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-5522492557043416529</id><published>2008-08-15T14:38:00.001-06:00</published><updated>2008-08-15T14:38:59.785-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:38:59.785-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Reporting" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Getting Search Crawl Details from the DB</title><content type="html">&lt;p&gt;Ok, so I must be on a roll... Here's another glorious script that goes directly to the SharePoint DB's... Don't tell Bill!&amp;#160; As usual, this is not recommended by MS, etc., etc., etc.&amp;#160; This one is to get result sets of your Crawl Details.&amp;#160; It will show each attempt to start/stop/delete a crawl, what it's current status is, when it was requested, started, and finished.&amp;#160; Handy for monitoring your Search crawling with home grown tools ;)    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;--Begin Script    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;/*    &lt;br /&gt;CrawlLogDetails.sql     &lt;br /&gt;Written by     &lt;br /&gt;Josef Nielsen     &lt;br /&gt;Nov. 2007     &lt;br /&gt;    &lt;br /&gt;Displays MOSS Crawl Details (Type, status, and times)     &lt;br /&gt;Point this script at your Search DB (ie. SharedServices_Search_DB)     &lt;br /&gt;*/     &lt;br /&gt;    &lt;br /&gt;BEGIN     &lt;br /&gt;    &lt;br /&gt;-- Create temp tables for System values     &lt;br /&gt;CREATE TABLE [#CrawlStatus](     &lt;br /&gt;[CrawlStatusName] VARCHAR(35),     &lt;br /&gt;[CrawlStatusID] INT     &lt;br /&gt;)     &lt;br /&gt;    &lt;br /&gt;CREATE TABLE [#CrawlType](     &lt;br /&gt;[CrawlTypeName] VARCHAR(25),     &lt;br /&gt;[CrawlTypeID] INT     &lt;br /&gt;)     &lt;br /&gt;    &lt;br /&gt;-- Populate Crawl Status System Values     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_ACQUIRED', 1)     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_INSERTSTARTPAGE', 2)     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STARTCHECK', 3 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_START', 4)     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_FORBID',&amp;#160; 5)     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_UPDATE_SEED', 6 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_QUERY_DONE', 7 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_DELETEUNVISITEDITEMS', 8 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_PAUSE', 9 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_RESUME', 10)     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_DONE', 11 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_UPDATE_STOP', 12 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_STOP', 13 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_STATUS_RESET',&amp;#160; 14)     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_START_DELETE', 15 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_DELETE_CS', 16 )     &lt;br /&gt;INSERT INTO [#CrawlStatus] VALUES ('CRAWL_DELETE_SA', 17 )     &lt;br /&gt;    &lt;br /&gt;-- Populate Crawl Type System Values     &lt;br /&gt;INSERT INTO [#CrawlType] VALUES ('CRAWLTYPE_FULL', 1 )     &lt;br /&gt;INSERT INTO [#CrawlType] VALUES ('CRAWLTYPE_INCREMENTAL', 2 )     &lt;br /&gt;INSERT INTO [#CrawlType] VALUES ('CRAWLTYPE_DELETE', 6 )     &lt;br /&gt;    &lt;br /&gt;-- Join MSCrawlHistory to SCrawlHostList and our two temp tables     &lt;br /&gt;SELECT&amp;#160;&amp;#160;&amp;#160; [CrawlID]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[HostName]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[CrawlTypeName]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[CrawlStatusName]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[RequestTime]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[StartTime]     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[EndTime]     &lt;br /&gt;&amp;#160; FROM [SharedServices1_Search_DB].[dbo].[MSSCrawlHistory]     &lt;br /&gt;&amp;#160; LEFT JOIN [dbo].[MSSCrawlHostList] ON [ProjectID] = [HostID]     &lt;br /&gt;&amp;#160; LEFT JOIN [#CrawlStatus] ON [Status] = [CrawlStatusID]     &lt;br /&gt;&amp;#160; LEFT JOIN [#CrawlType] ON [CrawlType] = [CrawlTypeID]     &lt;br /&gt;&amp;#160; WHERE 1 = 1     &lt;br /&gt;    &lt;br /&gt;&amp;#160; -- Uncomment and use this conditional to filter the results to just one Web App     &lt;br /&gt;&amp;#160; --AND [HostName] = 'MySharePointSiteName'     &lt;br /&gt;&amp;#160; ORDER BY [RequestTime] DESC     &lt;br /&gt;    &lt;br /&gt;END     &lt;br /&gt;    &lt;br /&gt;-- Do a little clean up and get rid of those pesky temp tables     &lt;br /&gt;DROP TABLE [#CrawlStatus]     &lt;br /&gt;DROP TABLE [#CrawlType]     &lt;br /&gt;    &lt;br /&gt;--End Script     &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-5522492557043416529?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=h2QSGbYWEB8:628wsmnJN6E:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=h2QSGbYWEB8:628wsmnJN6E:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/h2QSGbYWEB8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/5522492557043416529/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=5522492557043416529" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5522492557043416529?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5522492557043416529?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/h2QSGbYWEB8/getting-search-crawl-details-from-db.html" title="Getting Search Crawl Details from the DB" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/getting-search-crawl-details-from-db.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIHSHo_eip7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-8995570011396982263</id><published>2008-08-15T14:35:00.001-06:00</published><updated>2008-08-15T14:35:39.442-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:35:39.442-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ASP.Net" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Security Trimming WebControls and ASP Objects</title><content type="html">&lt;p&gt;I hadn't used this yet, and had cause to this week.&amp;#160; It works slick, and is pretty configurable... I used it to hide the SiteActions button on list pages for members, but not admins, as well as admin web parts embedded in a page.&amp;#160; It works with Web Parts, Web Controls, and other ASP.Net objects (ie. SharePoint:*, etc.).&amp;#160; Wrap the content you want trimmed in the following code (using SPD):&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;lt;Sharepoint:SPSecurityTrimmedControl runat=&amp;quot;server&amp;quot; PermissionsString=&amp;quot;BrowseDirectories&amp;quot;&amp;gt;&lt;/font&gt;     &lt;br /&gt;[Content to Trim]     &lt;br /&gt;&lt;font face="Courier New" size="2"&gt;&amp;lt;/Sharepoint:SPSecurityTrimmedControl&amp;gt;&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;You can then swap out the &amp;quot;BrowseDirectories&amp;quot; with whatever you need for the trimming.&amp;#160; Here are the one's I've found handy so far:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;BrowseDirectories = Anyone but Limited Read (Anonymous is Limited Read) &lt;/li&gt;    &lt;li&gt;ManageWeb = Site Collection Admins &lt;/li&gt;    &lt;li&gt;ManageSubwebs = Site Owners &lt;/li&gt;    &lt;li&gt;AddListItems = Site Members and specified list contributors &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Here's a link to all the defined values in the &lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx" target="_blank"&gt;SPBasePermissions Enum&lt;/a&gt;.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-8995570011396982263?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=77fLvXSLOB0:dojEevNRhF0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=77fLvXSLOB0:dojEevNRhF0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/77fLvXSLOB0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/8995570011396982263/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=8995570011396982263" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8995570011396982263?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/8995570011396982263?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/77fLvXSLOB0/security-trimming-webcontrols-and-asp.html" title="Security Trimming WebControls and ASP Objects" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/security-trimming-webcontrols-and-asp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMCR3o6eCp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-1638650076156853859</id><published>2008-08-15T14:34:00.001-06:00</published><updated>2008-08-15T14:34:26.410-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:34:26.410-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Reporting" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Details and manual monitoring of the Content DBs</title><content type="html">&lt;p&gt;So our Ad-Hoc environment started growing a bit faster than we had originally anticipated.&amp;#160; We knew we would have some disparity between site's content size, so we set our content DB max site limits a bit lower than normal (hey, we have 50 of them, so we thought we'd be safe).&amp;#160; The thought was that way we could help balance the sizing by adjusting the max counts on the DB's to reflect the physical size based on content. &lt;/p&gt;  &lt;p&gt;It quickly became way to much of a pain to manually collate the size details with the site details based on content DB...&amp;#160; So here's a little script I wrote up (ok, modified from my original Site Details script) that pulls all the goodness you could want about a content DB direct from the DB itself... &amp;lt;Insert canned warnings about how MS does not recommend querying the DB directly here&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div class="Section1"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;/* &lt;o:p&gt;&lt;/o:p&gt;       &lt;br /&gt;ContentDBReport.sql&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;written by Josef Nielsen&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;October 2007&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;         &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;NOTE: You must create a linked server if you use multiple SQL server to house you content DBs&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;*/&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;&lt;/span&gt;&amp;#160; &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;BEGIN&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@ts1&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;varchar&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(1000), @ConfigDB&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128)&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;        &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Set your Config DB Name here if it is different&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@ConfigDB =&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'SharePoint_Config'&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;-- This creates a temp table to hold the list of content DBs referenced by the Config DB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;CREATE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[#TempDbList]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DBname&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DBInstance&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DBServer&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;MaxSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;INT&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;WarnSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;INT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Populate the temp table with content DBs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@ts1 =&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'INSERT INTO #TempDbList&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;SELECT [DbName].[Name] AS ''DatabaseName'',&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;[Instance].[Name] AS ''DatabaseInstance'',&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;[Server].[Name] AS ''DatabaseServer'',&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;CONVERT(XML, [DbName].[properties]).value (''(/object/sFld/text())[1]'', ''int'') AS ''MaxSites'',&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;CONVERT(XML, [DbName].[properties]).value (''(/object/sFld/text())[2]'', ''int'') AS ''WarnSites''&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;FROM '&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@ConfigDB+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;']'&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'.[dbo].[Objects] AS [DbName]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@ConfigDB+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;']'&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'.[dbo].[Objects] AS [Instance]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;ON [DbName].[ParentId] = [Instance].[ID]&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@ConfigDB+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;']'&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'.[dbo].[Objects] AS [Server]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;ON [Instance].[ParentId] = [Server].[Id]&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;WHERE [DbName].[Properties] LIKE ''%SPContentDatabase%''&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;AND [DbName].[Properties] NOT LIKE ''%WebApplication%'''&lt;span&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(@ts1)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@ts2&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(1000)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;--This creates a temp table to hold the end results of the Site Collection lists from all Content DBs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;CREATE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[#TempContentDbList]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;(&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;WebApp &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128),&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DBServer&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128),&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DBName&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128),&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DBSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;int&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;,&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DBWarnSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;int&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;,&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DBMaxSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;int&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;,&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DBSize&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;float&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Create a cursor to walk through each content DB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DB_cursor&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;CURSOR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FOR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[DBServer], [DBInstance], [DBName], [MaxSites], [WarnSites]&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[#TempDbList]&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;OPEN&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DB_Cursor&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Declare Variables to populate by Cursor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vDBServer&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;        &lt;br /&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vDBInstance&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vDBName&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(128)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vMaxSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;INT&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vWarnSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;INT&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@DBv1&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(5000)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FETCH&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;NEXT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DB_cursor&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;INTO&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vDBServer, @vDBInstance, @vDBName, @vMaxSites, @vWarnSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;WHILE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: fuchsia; font-family: &amp;#39;Courier New&amp;#39;"&gt;@@FETCH_STATUS&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;= 0&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;BEGIN&lt;o:p&gt;&amp;#160; &lt;/o:p&gt;&lt;/span&gt;      &lt;br /&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Add a backslash for DBServers that are not default instances&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@slash&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(5)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;IF&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vDBInstance =&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;''&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@slash =&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;''&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;ELSE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@slash =&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'\'&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Script to insert Content DB details to the temp site summery table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@DBv1 =&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'INSERT INTO [#TempContentDbList]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;SELECT [ConfigObjects].[Name] AS ''WebApp'',&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(SELECT '''&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+ @vDBServer+@slash+@vDBInstance +&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;''') AS ''SQL Server'',&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(SELECT ''' &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+ @vDBName +&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt; ''') AS ''Content DB Name'',&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(SELECT COUNT([Webs].[Title])) AS ''Current Site Count'',&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(SELECT ' &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: fuchsia; font-family: &amp;#39;Courier New&amp;#39;"&gt;CONVERT&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;(&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(20), @vMaxSites) +&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt; ') AS ''Max Site Count'',&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(SELECT ' &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: fuchsia; font-family: &amp;#39;Courier New&amp;#39;"&gt;CONVERT&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;(&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;VARCHAR&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(50),@vWarnSites) +&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;') AS ''Site Size'',&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;(SELECT round(sum(convert(float,[size])*8/1024),2) AS ''DB Size in MB''&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;FROM&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;[sys].[master_files]&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;WHERE&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;[state] = 0&lt;span&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;AND [data_space_id] = 1&lt;span&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;AND db_name([database_id]) = '''&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+ @vDBName +&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'''&lt;span&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;GROUP BY [database_id]) AS ''Site Size''&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;FROM&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@vDBServer+@slash+@vDBInstance+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'].['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@vDBName+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'].[dbo].[sites] AS [Sites] WITH (NOLOCK)&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;LEFT JOIN ['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@vDBServer+@slash+@vDBInstance+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'].['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@vDBName+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'].[dbo].[webs] AS [Webs] WITH (NOLOCK) ON [Webs].[siteID] = [Sites].[Id]&lt;o:p&gt;&lt;/o:p&gt;        &lt;br /&gt;&lt;span&gt;&lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@ConfigDB+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;']'&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'.[dbo].[SiteMap] AS [ConfigSiteMap]&lt;span&gt; &lt;/span&gt;WITH (NOLOCK) ON [ConfigSiteMap].[Id] = [Sites].[Id]&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+@ConfigDB+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;']'&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(227,108,10); font-family: &amp;#39;Courier New&amp;#39;"&gt;'.[dbo].[Objects] AS [ConfigObjects]&lt;span&gt; &lt;/span&gt;WITH (NOLOCK) ON [ConfigSiteMap].[ApplicationID] = [ConfigObjects].[Id]&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;WHERE&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;[Webs].[ParentWebId] IS NULL&lt;o:p&gt;&lt;/o:p&gt;         &lt;br /&gt;&lt;span&gt;&lt;/span&gt;GROUP BY [ConfigObjects].[Name]'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;(@DBv1)&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FETCH&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;NEXT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DB_cursor&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;INTO&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;@vDBServer, @vDBInstance, @vDBName, @vMaxSites, @vWarnSites&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;END&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;CLOSE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DB_cursor&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DEALLOCATE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;DB_Cursor&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;END&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Cursor is closed and released, and now we select the results of the scan&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;*&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;#TempContentDbList&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;ORDER&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;BY&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[WebApp], [DBName]&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;"&gt;-- Clean up to get rid of those temp tables&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DROP&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[#TempDbList]&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;DROP&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: black; font-family: &amp;#39;Courier New&amp;#39;"&gt;[#TempContentDbList]&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;"&gt;&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal"&gt;&lt;o:p&gt;&amp;#160;&lt;/o:p&gt;&lt;/p&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-1638650076156853859?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=EO1utnu_0lI:IjMZZnfoes8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=EO1utnu_0lI:IjMZZnfoes8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/EO1utnu_0lI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/1638650076156853859/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=1638650076156853859" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1638650076156853859?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1638650076156853859?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/EO1utnu_0lI/details-and-manual-monitoring-of.html" title="Details and manual monitoring of the Content DBs" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/details-and-manual-monitoring-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQCQ3c7fyp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-5317908441331922915</id><published>2008-08-15T14:32:00.001-06:00</published><updated>2008-08-15T14:32:42.907-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:32:42.907-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Reporting" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Pulling site collections details via direct SQL query</title><content type="html">&lt;style&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Font Definitions */&lt;br /&gt; @font-face&lt;br /&gt;	{font-family:"Cambria Math";&lt;br /&gt;	panose-1:2 4 5 3 5 4 6 3 2 4;&lt;br /&gt;	mso-font-charset:1;&lt;br /&gt;	mso-generic-font-family:roman;&lt;br /&gt;	mso-font-format:other;&lt;br /&gt;	mso-font-pitch:variable;&lt;br /&gt;	mso-font-signature:0 0 0 0 0 0;}&lt;br /&gt;@font-face&lt;br /&gt;	{font-family:calibri;&lt;br /&gt;	panose-1:2 15 5 2 2 2 4 3 2 4;&lt;br /&gt;	mso-font-charset:0;&lt;br /&gt;	mso-generic-font-family:swiss;&lt;br /&gt;	mso-font-pitch:variable;&lt;br /&gt;	mso-font-signature:-1610611985 1073750139 0 0 159 0;}&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.msonormal, li.msonormal, div.msonormal&lt;br /&gt;	{mso-style-unhide:no;&lt;br /&gt;	mso-style-qformat:yes;&lt;br /&gt;	mso-style-parent:"";&lt;br /&gt;	margin-top:0in;&lt;br /&gt;	margin-right:0in;&lt;br /&gt;	margin-bottom:10.0pt;&lt;br /&gt;	margin-left:0in;&lt;br /&gt;	line-height:115%;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:11.0pt;&lt;br /&gt;	font-family:"Calibri","sans-serif";&lt;br /&gt;	mso-ascii-font-family:calibri;&lt;br /&gt;	mso-ascii-theme-font:minor-latin;&lt;br /&gt;	mso-fareast-font-family:calibri;&lt;br /&gt;	mso-fareast-theme-font:minor-latin;&lt;br /&gt;	mso-hansi-font-family:calibri;&lt;br /&gt;	mso-hansi-theme-font:minor-latin;&lt;br /&gt;	mso-bidi-font-family:"Times New Roman";&lt;br /&gt;	mso-bidi-theme-font:minor-bidi;}&lt;br /&gt;p&lt;br /&gt;	{mso-style-noshow:yes;&lt;br /&gt;	mso-style-priority:99;&lt;br /&gt;	mso-margin-top-alt:auto;&lt;br /&gt;	margin-right:0in;&lt;br /&gt;	mso-margin-bottom-alt:auto;&lt;br /&gt;	margin-left:0in;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:"Times New Roman","serif";&lt;br /&gt;	mso-fareast-font-family:"Times New Roman";}&lt;br /&gt;.msochpdefault&lt;br /&gt;	{mso-style-type:export-only;&lt;br /&gt;	mso-default-props:yes;&lt;br /&gt;	mso-ascii-font-family:calibri;&lt;br /&gt;	mso-ascii-theme-font:minor-latin;&lt;br /&gt;	mso-fareast-font-family:calibri;&lt;br /&gt;	mso-fareast-theme-font:minor-latin;&lt;br /&gt;	mso-hansi-font-family:calibri;&lt;br /&gt;	mso-hansi-theme-font:minor-latin;&lt;br /&gt;	mso-bidi-font-family:"Times New Roman";&lt;br /&gt;	mso-bidi-theme-font:minor-bidi;}&lt;br /&gt;.msopapdefault&lt;br /&gt;	{mso-style-type:export-only;&lt;br /&gt;	margin-bottom:10.0pt;&lt;br /&gt;	line-height:115%;}&lt;br /&gt;@page section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.0in 1.0in 1.0in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.section1&lt;br /&gt;	{page:section1;}&lt;br /&gt;--&gt;&lt;/style&gt;  &lt;p class="Section1"&gt;I certainly don't recommend making changes to your content DBs directly in SQL, but there's no harm to be had pulling data from the DB's.&amp;#160; I found that this was the easiest way to poll data about all farm content DBs and Web Apps listed by Site Collection.&amp;#160; Hope you find this useful!&lt;/p&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;/*      &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SiteReport.sql&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;written by Josef Nielsen&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;September 2007 &lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&amp;#160;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;NOTE: You must create a linked server if you use multiple SQL server to house you content DBs&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;*/      &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@ts1&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;varchar&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;1000&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;@ConfigDB&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&amp;#160;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Set your Config DB Name here if it is different&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@ConfigDB&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;=&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'SharePoint_Config'&lt;/span&gt;&lt;span style="color: yellow"&gt;        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&amp;#160;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- This creates a temp table to hold the list of content DBs referenced by the Config DB&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;CREATE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;[#TempDbList]&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: white"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;(&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DBname&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DBInstance&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DBServer&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;) &lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Populate the temp table with content DBs&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@ts1&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;=&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'INSERT INTO #TempDbList&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;SELECT [DbName].[Name] AS ''DatabaseName'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[Instance].[Name] AS ''DatabaseInstance'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[Server].[Name] AS ''DatabaseServer''&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;FROM '&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+@ConfigDB&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;']'&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'.[dbo].[Objects] AS [DbName]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+@ConfigDB&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;']'&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'.[dbo].[Objects] AS [Instance]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;ON [DbName].[ParentId] = [Instance].[ID]&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+@ConfigDB&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;']'&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'.[dbo].[Objects] AS [Server]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 3"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;ON [Instance].[ParentId] = [Server].[Id]&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;WHERE [DbName].[Properties] LIKE ''%SPContentDatabase%''&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;AND [DbName].[Properties] NOT LIKE ''%WebApplication%'''&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;(@ts1)&lt;span style="color: gray"&gt;        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&amp;#160;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@ts2&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;1000&lt;span style="color: gray"&gt;)        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&amp;#160;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;--This creates a temp table to hold the end results of the Site Collection lists from all Content DBs&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;CREATE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;[#TempSiteList]&lt;span style="color: white"&gt;        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;(&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; FullURL&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; WebApp&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; DBServer&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; DBName&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Megs&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;BIGINT&lt;/span&gt;&lt;span style="color: gray"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Quotamax&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Quotawarning&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Userquota&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Siteowner&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; OwnerEmail&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Sitecreationdate&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&amp;#160;&amp;#160; Lastcontentchange&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;)      &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&amp;#160;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Create a cursor to walk through each content DB&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DB_cursor&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;CURSOR&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: blue"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FOR&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;[DBServer],&lt;span style="color: white"&gt; &lt;/span&gt;[DBInstance],&lt;span style="color: white"&gt; &lt;/span&gt;[DBName]&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: white"&gt;&amp;#160; &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;[#TempDbList] &lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;OPEN&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DB_Cursor&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: white"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBServer&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBInstance&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBName&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FETCH&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;NEXT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DB_cursor&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;INTO&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;@vDBServer&lt;span style="color: gray"&gt;,&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;@vDBInstance&lt;span style="color: gray"&gt;,&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;@vDBName&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: white"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;WHILE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: fuchsia; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@@FETCH_STATUS&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;0&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: white"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;BEGIN&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@DBv1&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;2000&lt;span style="color: gray"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Add a backslash for DBServers that are not default instances&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@slash&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: gray"&gt;(&lt;/span&gt;128&lt;span style="color: gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: gray"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;IF&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBInstance&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;=&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;''&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;/span&gt;&lt;span style="color: yellow"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@slash&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;=&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;''&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;/span&gt;&lt;span style="color: yellow"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;ELSE&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@slash&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;=&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'\'&lt;/span&gt;&lt;span style="color: yellow"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: yellow; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Script to insert Site Collection details to the temp site summery table&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@DBv1&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;=&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'INSERT INTO [#TempSiteList]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;SELECT [Webs].[FullUrl],&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[ConfigObjects].[Name] AS ''WebApp'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(SELECT '''&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBServer+@slash+@vDBInstance&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;''') AS ''SQL Server'',&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(SELECT ''' &lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBName&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;''') AS ''Content DB Name'',&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(([Sites].[diskused])/1024)/1024 AS ''Megs'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(([Sites].[diskquota])/1024)/1024 AS ''Quota max'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(([Sites].[diskwarning])/1024)/1024 AS ''Quota warning'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(([Sites].[userquota])/1024)/1024 AS ''User Quota'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[User].[tp_login] AS ''Site Owner'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[User].[tp_email] AS ''Owner E-mail'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;CAST([Sites].[timecreated] AS char(30)) AS ''Site Creation Date'',&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;CAST([Sites].[lastcontentchange] AS char(30)) AS ''Last Content Change''&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;FROM&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;['&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBServer&lt;span style="color: gray"&gt;+&lt;/span&gt;@slash&lt;span style="color: gray"&gt;+&lt;/span&gt;@vDBInstance&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'].['&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;@vDBName&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'].[dbo].[sites] AS [Sites] WITH (NOLOCK)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;LEFT JOIN ['&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@vDBServer&lt;span style="color: gray"&gt;+&lt;/span&gt;@slash&lt;span style="color: gray"&gt;+&lt;/span&gt;@vDBInstance&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'].['&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;@vDBName&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'].[dbo].[webs] AS [Webs] WITH (NOLOCK) ON [Webs].[siteID] = [Sites].[Id]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;LEFT JOIN ['&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+@vDBServer+@slash+@vDBInstance&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'].['&lt;/span&gt;+@vDBName&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'].[dbo].[userinfo] AS [User]&lt;span style="mso-spacerun: yes"&gt;&amp;#160; &lt;/span&gt;WITH (NOLOCK) ON [User].[tp_SiteID] = [Sites].[Id]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+@ConfigDB&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;']'&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'.[dbo].[SiteMap] AS [ConfigSiteMap]&lt;span style="mso-spacerun: yes"&gt;&amp;#160; &lt;/span&gt;WITH (NOLOCK) ON [ConfigSiteMap].[Id] = [Sites].[Id]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;LEFT JOIN '&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;'['&lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;+&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;@ConfigDB&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;']'&lt;/span&gt;&lt;span style="color: gray"&gt;+&lt;/span&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;'.[dbo].[Objects] AS [ConfigObjects]&lt;span style="mso-spacerun: yes"&gt;&amp;#160; &lt;/span&gt;WITH (NOLOCK) ON [ConfigSiteMap].[ApplicationID] = [ConfigObjects].[Id]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;WHERE&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[Webs].[ParentWebId] IS NULL&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;--AND [User].[tp_SiteID] = [Sites].[Id]&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;AND [User].[tp_SiteAdmin] = 1&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;&lt;span style="mso-tab-count: 2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;AND [User].[tp_id] = 1'&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: #548dd4; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes; mso-themecolor: text2; mso-themetint: 153"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;(@DBv1)&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&amp;#160;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FETCH&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;NEXT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DB_cursor&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;INTO&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;@vDBServer, @vDBInstance, @vDBName&lt;span style="color: white"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;END &lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&amp;#160;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;CLOSE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DB_cursor&lt;span style="color: white"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DEALLOCATE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DB_Cursor&lt;span style="color: white"&gt;        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;     &lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;END &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Cursor is closed and released, ad now we select the results of the scan&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: gray; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;*&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;#TempSiteList&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;ORDER&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;&lt;span style="color: blue"&gt;BY&lt;/span&gt;&lt;span style="color: white"&gt; &lt;/span&gt;[WebApp], [FullURL]&lt;span style="color: white"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&amp;#160;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;-- Clean up to get rid of those temp tables&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; color: green; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;     &lt;p&gt;&lt;/p&gt;   &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DROP&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;[#TempDbList]&lt;/span&gt;&lt;/div&gt;  &lt;div class="Section1"&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;&lt;span style="color: white"&gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;DROP&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;TABLE&lt;/span&gt;&lt;span style="font-size: 10pt; color: white; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;#39;Courier New&amp;#39;; mso-no-proof: yes"&gt;[#TempSiteList]&lt;span style="color: white"&gt;        &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/span&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-5317908441331922915?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=UYvtALLSto8:M_fu3c3FIbA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=UYvtALLSto8:M_fu3c3FIbA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/UYvtALLSto8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/5317908441331922915/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=5317908441331922915" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5317908441331922915?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/5317908441331922915?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/UYvtALLSto8/pulling-site-collections-details-via.html" title="Pulling site collections details via direct SQL query" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/pulling-site-collections-details-via.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUAR3k5eyp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-4878814214280217009</id><published>2008-08-15T14:30:00.001-06:00</published><updated>2008-08-15T14:30:46.723-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:30:46.723-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySites" /><category scheme="http://www.blogger.com/atom/ns#" term="Personalization" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Background on My SharePoint Links</title><content type="html">So recently we had some issues that came up around the &amp;quot;My SharePoint Links&amp;quot; option that exists on default master pages under the menu option &amp;quot;My Links&amp;quot;.&amp;#160; Our issue was that a few sites never showed up on that list for some people during testing.&amp;#160; This spawned a number of questions about this process, which I decided to share, as I couldn't find much on the Internet currently about this.&amp;#160; This is the information I've found, seen, and some is my best guess, based on the behavior of the system.&amp;#160; &lt;br /&gt;  &lt;br /&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;When My SharePoint Sites shows up&lt;/u&gt;&lt;/b&gt;&lt;/p&gt; My SharePoint Links only shows up when you have multiple Site Collections.&amp;#160; If you are working with one Site Collection, the list item for these links will not appear.&amp;#160; After adding another collection, there is a waiting/polling period before it appears.&amp;#160; This seems to be 5-30 minutes usually.&amp;#160; My best guess is that this is linked to an sptimer job, although I haven't found information on that yet.&amp;#160; This appears to be the same job that &amp;quot;converts&amp;quot; a new site to standard security objects (see below).   &lt;br /&gt;  &lt;br /&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;Which Sites show up on the My SharePoint Sites list&lt;/u&gt;&lt;/b&gt;&lt;/p&gt; So which sites belong on that list?&amp;#160; Any site for which the current logged in user is in the configured &amp;quot;Members&amp;quot; group.&amp;#160; Owners, Admins, and Visitors make no difference for this list, only Members.&amp;#160; This is the same list that is populated on MySites in the profile section labeled &amp;quot;Memberships&amp;quot;.&amp;#160; You can manage these at http://&amp;lt;mysite_root_url&amp;gt;/_layouts/MyMemberships.aspx...   &lt;br /&gt;  &lt;br /&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;How security is setup originally&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;As far as I've been able to tell, any given site, when created, contains a custom list for security that is not linked to actual security objects.&amp;#160; It does seem to link to AD security principles (the &amp;quot;Account&amp;quot; field), but the rest on the information is just standard editable fields (see screen shot below).&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;img title="New Site Security Columns" height="400" alt="New Site Security Columns" src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc1d2b3e12b00000025100AZMnDRq5cN2Pg" width="268" align="middle" mce_src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc1d2b3e12b00000025100AZMnDRq5cN2Pg" /&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You can get to this first screen by adding _layouts/people.aspx to your site address (It's the people section of People and Groups), then select settings, list settings.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img title="New Site User Edit Screen" height="258" alt="New Site User Edit Screen" src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc27a8600ae00000026100AZMnDRq5cN2Pg" width="386" align="middle" mce_src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc27a8600ae00000026100AZMnDRq5cN2Pg" /&gt;&lt;/p&gt;  &lt;p&gt;This second screen is accessed by just clicking on the user's name or image in a security group or the All Users screen.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;After a 5 to 30 minutes time period (this seems to be about the same time period - and perhaps the same sptimer job? - as updates to your MySite &amp;quot;About Me&amp;quot; section, which appears in the user info screen), the security information is updated, and looks like the screen shots below.&amp;#160; &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img title="Updated Site Security Columns" height="400" alt="Updated Site Security Columns" src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc27a99818100000025100AZMnDRq5cN2Pg" width="268" align="middle" mce_src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc27a99818100000025100AZMnDRq5cN2Pg" /&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Notice that there are only two columns listed (above), and all the fields in the User Information (below) are now read-only.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160; &lt;img title="Updated User Edit Screen" height="400" alt="Updated User Edit Screen" src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc27a8200aa00000025100AZMnDRq5cN2Pg" width="268" align="middle" mce_src="http://im1.shutterfly.com/procserv/47b7d732b3127ccebbc27a8200aa00000025100AZMnDRq5cN2Pg" /&gt;&lt;/p&gt;  &lt;p&gt;At the time when this change happens, the site will now appear on the My SharePoint Sites list.&amp;#160; My belief is that this conversion process changes the security table to a series of objects that are now readable by SharePoint's core system as security, rather than a list.&amp;#160; The My SharePoint Links object calls a security lookup that cannot read from those unconverted sites, only from converted ones. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;b&gt;When things break... &lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;So what exactly was the problem we were seeing then?&amp;#160; Based on the above information, I found that the few sites we had that never populated on the My SharePoint Links list all still had that &amp;quot;new site&amp;quot; security list that had not yet been converted.&amp;#160; The sites had been created days ago, in a few cases over a month ago, but the sites never changed.&lt;/p&gt;  &lt;p&gt;This led me to alter my belief about this possible sptimer job.&amp;#160; The behavior makes me believe that there is a &amp;quot;convert flag&amp;quot; somewhere in the site information that tells SharePoint if it is a new site, or a converted site.&amp;#160; This (possibly fictional) sptimer job only converts sites where the flag has not yet been set, and it sets this flag after the conversion. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;b&gt;How to fix it when &amp;quot;things break&amp;quot;...&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;Unfortunately, my call to MS Premiere ended up being a bit more of an educational session for them, and I still do not have a reasonable answer to this issue, although the issue is still open and they are researching this behavior now.&amp;#160; I did find that I could easily use my MOSS backup solution, &lt;a href="http://www.avepoint.com/products/" target="_blank" mce_href="http://www.avepoint.com/products/"&gt;AvePoint's DocAve&lt;/a&gt;, to backup content and restore it to a new site that had been converted, but this still leaves the question of how to fix a site without a 3rd party tool and a bunch of delete/recreate operations.&amp;#160; I'm still waiting for that answer, but now I think I understand how this part of SharePoint functions a bit better.&amp;#160; I'll post the answer (if there is one) whenever I get it...&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-4878814214280217009?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=oJTVGMZlX0Q:DKPOxEYWBIM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=oJTVGMZlX0Q:DKPOxEYWBIM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/oJTVGMZlX0Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/4878814214280217009/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=4878814214280217009" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/4878814214280217009?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/4878814214280217009?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/oJTVGMZlX0Q/background-on-my-sharepoint-links.html" title="Background on My SharePoint Links" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/background-on-my-sharepoint-links.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYBSX85fCp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-1851337794493695007</id><published>2008-08-15T14:29:00.001-06:00</published><updated>2008-08-15T14:29:18.124-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:29:18.124-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>SQL 2005 Embedded Edition... What the heck is that?</title><content type="html">&lt;p&gt;So I ran in to a copy of SQL 2005 Embedded today... first time I've seen it.&amp;#160; It was on a MOSS install that some folks were testing, and they wanted the content moved over to our Production environment. No Problem, says I... I went to go make a backup of the Context DB to import in to the Production farm to move the content, but I couldn't connect to the DB server with my Management Studio.&amp;#160; &lt;/p&gt;  &lt;p&gt;Scratching my head with a perplexed look on my face, I loaded the Management Studio on the local server and tried opening it up there.&amp;#160; No Dice...&amp;#160; Apparently, it is an IP disabled version that only allow local named pipes connections, or something. &lt;/p&gt;  &lt;p&gt;The only way I found to connect to the thing was by telling the Management Studio to connect to &lt;u&gt;&lt;b&gt;\\.\pipe\mssql$microsoft##ssee\sql\query&lt;/b&gt;&lt;/u&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Not very intuitive... but it works...    &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-1851337794493695007?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=uB7H9g1lc_A:6vaNRVKEzVM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=uB7H9g1lc_A:6vaNRVKEzVM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/uB7H9g1lc_A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/1851337794493695007/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=1851337794493695007" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1851337794493695007?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1851337794493695007?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/uB7H9g1lc_A/sql-2005-embedded-edition-what-heck-is.html" title="SQL 2005 Embedded Edition... What the heck is that?" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/sql-2005-embedded-edition-what-heck-is.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYFRHw8cSp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-3109219296207773479</id><published>2008-08-15T14:28:00.001-06:00</published><updated>2008-08-15T14:28:35.279-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:28:35.279-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Application Pages" /><category scheme="http://www.blogger.com/atom/ns#" term="MOSS" /><title>Those dang System Screens...</title><content type="html">&lt;p mce_keep="true"&gt;If you've ever looked at the URL for an of the _catalog or _layouts admin pages, you may have thought like I did, &amp;quot;I can remember that... It's just xxx.aspx in the layouts folder&amp;quot;... Yeah right... We've taken, like many people do, and hidden some of the menu options in the Site Settings screen, to help our users not mess with things they do not understand in the Self-Provisioned Team Sites we have.&amp;#160; Now if only I can remember which ones I hid and how to get to them... :)&lt;/p&gt;  &lt;p mce_keep="true"&gt;Here's a list I made up to help me remember:&lt;/p&gt;  &lt;p mce_keep="true"&gt;&amp;#160;&lt;/p&gt;  &lt;table&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td&gt;People and Groups &lt;/td&gt;        &lt;td width="252"&gt;_layouts/people.aspx &lt;/td&gt;        &lt;td width="134"&gt;Users and Permissions &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Admins &lt;/td&gt;        &lt;td width="252"&gt;_layouts/mngsiteadmin.aspx&lt;/td&gt;        &lt;td width="134"&gt;Users and Permissions &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Advanced Permissions &lt;/td&gt;        &lt;td width="252"&gt;_layouts/user.aspx &lt;/td&gt;        &lt;td width="134"&gt;Users and Permissions &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Master Pages &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/ChangeSiteMasterPage.aspx &lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Title, Desc, and Icon &lt;/td&gt;        &lt;td width="252"&gt;_layouts/prjsetng.aspx&lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Navigation &lt;/td&gt;        &lt;td width="252"&gt;_layouts/AreaNavigationSettings.aspx&lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Page Layout and Ste Templates &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/AreaTemplateSettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Welcome Page &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/AreaWelcomePage.aspx&lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Tree View &lt;/td&gt;        &lt;td width="252"&gt;_layouts/navoptions.aspx&lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Top Nav Bar &lt;/td&gt;        &lt;td width="252"&gt;_layouts/topnav.aspx&lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Theme &lt;/td&gt;        &lt;td width="252"&gt;_layouts/themeweb.aspx&lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Reset to Site Definition &lt;/td&gt;        &lt;td width="252"&gt;_layouts/reghost.aspx &lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Searchable Columns &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/NoCrawlSettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Look and Feel &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Content Types &lt;/td&gt;        &lt;td width="252"&gt;_layouts/mngctype.aspx&lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Columns &lt;/td&gt;        &lt;td width="252"&gt;_layouts/mngfield.aspx &lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Templates &lt;/td&gt;        &lt;td width="252"&gt;_catalogs/wt/Forms/Common.aspx &lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;List Templates &lt;/td&gt;        &lt;td width="252"&gt;_catalogs/lt/Forms/AllItems.aspx &lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Web Parts &lt;/td&gt;        &lt;td width="252"&gt;_catalogs/wp/Forms/AllItems.aspx&lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Workflows &lt;/td&gt;        &lt;td width="252"&gt;_layouts/wrkmng.aspx &lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Master Pages and Page Layouts &lt;/td&gt;        &lt;td width="252"&gt;_catalogs/masterpage/Forms/AllItems.aspx&lt;/td&gt;        &lt;td width="134"&gt;Galleries &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Regoinal Settings &lt;/td&gt;        &lt;td width="252"&gt;_layouts/regionalsetng.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Libraries and Lists &lt;/td&gt;        &lt;td width="252"&gt;_layouts/mcontent.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Usage Report &lt;/td&gt;        &lt;td width="252"&gt;_layouts/usageDetails.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;User Alerts &lt;/td&gt;        &lt;td width="252"&gt;_layouts/sitesubs.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;RSS &lt;/td&gt;        &lt;td width="252"&gt;_layouts/siterss.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Search Visability &lt;/td&gt;        &lt;td width="252"&gt;_layouts/srchvis.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Sites and Workspaces &lt;/td&gt;        &lt;td width="252"&gt;_layouts/mngsubwebs.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Features &lt;/td&gt;        &lt;td width="252"&gt;_layouts/ManageFeatures.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Delete This Site &lt;/td&gt;        &lt;td width="252"&gt;_layouts/deleteweb.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Output Cache &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/areacachesettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Content and Structure &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/sitemanager.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Content and Structure Logs &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/SiteManager.aspx?lro=all &lt;/td&gt;        &lt;td width="134"&gt;Site Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Search Settings &lt;/td&gt;        &lt;td width="252"&gt;_layouts/enhancedSearch.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Search Scopes &lt;/td&gt;        &lt;td width="252"&gt;_layouts/viewscopes.aspx?mode=site &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Search Keywords &lt;/td&gt;        &lt;td width="252"&gt;_layouts/listkeywords.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Recycle Bin &lt;/td&gt;        &lt;td width="252"&gt;_layouts/AdminRecycleBin.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Features &lt;/td&gt;        &lt;td width="252"&gt;_layouts/ManageFeatures.aspx?Scope=Site &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Hierachy &lt;/td&gt;        &lt;td width="252"&gt;_layouts/vsubwebs.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Portal Site Connection &lt;/td&gt;        &lt;td width="252"&gt;_layouts/portal.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Audit Settings &lt;/td&gt;        &lt;td width="252"&gt;_layouts/AuditSettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Policies &lt;/td&gt;        &lt;td width="252"&gt;_layouts/Policylist.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Cache Profiles &lt;/td&gt;        &lt;td width="252"&gt;Cache%20Profiles/AllItems.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Output Cache &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/sitecachesettings.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Collection Object Cache &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/objectcachesettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Variations &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/VariationSettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Variation Labels &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/VariationLabels.aspx&lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Translatable Columns &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/TranslatableSettings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Variation Logs &lt;/td&gt;        &lt;td width="252"&gt;_Layouts/VariationLogs.aspx &lt;/td&gt;        &lt;td width="134"&gt;Site Collection Administration &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;Site Settings &lt;/td&gt;        &lt;td width="252"&gt;_layouts/settings.aspx &lt;/td&gt;        &lt;td width="134"&gt;Other &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-3109219296207773479?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=lwJH44c1Jn8:KJRzp_jD8LA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=lwJH44c1Jn8:KJRzp_jD8LA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/lwJH44c1Jn8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/3109219296207773479/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=3109219296207773479" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/3109219296207773479?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/3109219296207773479?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/lwJH44c1Jn8/those-dang-system-screens.html" title="Those dang System Screens..." /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/those-dang-system-screens.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcHQXo4eCp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-4766278173118313387</id><published>2008-08-15T14:27:00.001-06:00</published><updated>2008-08-15T14:27:10.430-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:27:10.430-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DNS" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server" /><title>Allowing NetBIOS responses on a DNS Alias in Win 2K3</title><content type="html">&lt;p mce_keep="true"&gt;You must disable &amp;quot;Strict Name Checking&amp;quot; on Windows 2003 server to allow the server to respond to a DNS alias. This is done via registry editing:&lt;/p&gt;  &lt;p mce_keep="true"&gt;HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters    &lt;br /&gt;Value name: DisableStrictNameChecking     &lt;br /&gt;Data type: REG_DWORD     &lt;br /&gt;Radix: Decimal     &lt;br /&gt;Value: 1&lt;/p&gt;  &lt;p mce_keep="true"&gt;This allows the Server &amp;quot;Server1&amp;quot; or &amp;quot;Server1.MyDomain.Pri&amp;quot; to respond to a DNS entry like &amp;quot;CoolService&amp;quot; or &amp;quot;CoolService.MyDomain.Pri&amp;quot;... This is disabled by default, as it loosens security. It is not recommended to do this in a DMZ or Internet Zone.&lt;/p&gt;  &lt;p mce_keep="true"&gt;FYI, a reboot is required to make the change work.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-4766278173118313387?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=q24eavyGqwU:Uf1cLDfKDxc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=q24eavyGqwU:Uf1cLDfKDxc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/q24eavyGqwU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/4766278173118313387/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=4766278173118313387" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/4766278173118313387?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/4766278173118313387?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/q24eavyGqwU/allowing-netbios-responses-on-dns-alias.html" title="Allowing NetBIOS responses on a DNS Alias in Win 2K3" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/allowing-netbios-responses-on-dns-alias.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08ESXozcCp7ImA9WxdbGE4.&quot;"><id>tag:blogger.com,1999:blog-3890182585363645419.post-1694422579189215695</id><published>2008-08-15T14:23:00.001-06:00</published><updated>2008-08-15T14:23:28.488-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T14:23:28.488-06:00</app:edited><title>The new eChef!</title><content type="html">&lt;p&gt;New and improved, eChef 2.0!&amp;#160; Extra thanx to all the SharePoint Expert's guys for hosting me for the last year or so... I'm going to replicate a couple of the more popular posts from the past here, then on to the new stuff...!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3890182585363645419-1694422579189215695?l=echef.chaosfarm.net' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/echef?a=FUzOhuEBKwE:aSPoUfmy8lE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/echef?a=FUzOhuEBKwE:aSPoUfmy8lE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/echef?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/echef/~4/FUzOhuEBKwE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://echef.chaosfarm.net/feeds/1694422579189215695/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3890182585363645419&amp;postID=1694422579189215695" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1694422579189215695?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3890182585363645419/posts/default/1694422579189215695?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/echef/~3/FUzOhuEBKwE/new-echef.html" title="The new eChef!" /><author><name>Josef</name><uri>http://www.blogger.com/profile/03275479883583304967</uri><email>josef.nielsen@ldschurch.org</email><gd:extendedProperty name="OpenSocialUserId" value="05712044759335954492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://echef.chaosfarm.net/2008/08/new-echef.html</feedburner:origLink></entry></feed>
