<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Social-Point &#187; PowerShell</title>
	<atom:link href="http://www.social-point.com/category/sharepoint/powershell/feed" rel="self" type="application/rss+xml" />
	<link>http://www.social-point.com</link>
	<description>It&#039;s all about SharePoint</description>
	<lastBuildDate>Mon, 14 Nov 2011 12:21:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Search Crawls Won&#8217;t Complete</title>
		<link>http://www.social-point.com/search-crawls-wont-complete</link>
		<comments>http://www.social-point.com/search-crawls-wont-complete#comments</comments>
		<pubDate>Fri, 08 Jul 2011 09:37:16 +0000</pubDate>
		<dc:creator>JeffDeVerter</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Patching]]></category>
		<category><![CDATA[SP1]]></category>
		<category><![CDATA[Upgrading]]></category>

		<guid isPermaLink="false">http://www.social-point.com/?p=580</guid>
		<description><![CDATA[This post should also be titled &#8220;My Penalty for not Reading ALL the Instructions&#8220;. As it turns out, when you install the Service Pack 1 for SharePoint Server (first Foundation, then Server) &#8211; you are required to run the configuration wizard on your own at the end of the process.  I can only assume this [...]]]></description>
			<content:encoded><![CDATA[<p>This post should also be titled &#8220;<em>My Penalty for not Reading ALL the Instructions</em>&#8220;.</p>
<p>As it turns out, when you install the Service Pack 1 for SharePoint Server (first Foundation, then Server) &#8211; you are required to run the configuration wizard on your own at the end of the process.  I can only assume this is because a reboot is required after each patch application.  Here is the error that first caught my attention in the Event Viewer (EventID 69):</p>
<p style="padding-left: 30px;">The mount operation for the gatherer application 28c08c8b-2c00-408c-8572-87638068e335-crawl-0 has failed because the schema version of the search gatherer database is less than the minimum backwards compatibility schema version supported for this gatherer application. The database might not have been upgraded.</p>
<p><strong><a href="http://blogs.technet.com/b/office_sustained_engineering/archive/2011/06/29/sharepoint-2010-sp1-and-the-june-cumulative-update-for-sharepoint-2010.aspx" target="_blank">Big red flags in that error message.</a></strong></p>
<p>Here is a link to all of the details on Microsoft&#8217;s WEB Site.</p>
<p>So, if you have applied your SP1 for SharePoint 2010 and can&#8217;t get a crawl (incremental or full) to complete &#8211; check to see if your farm requires updating:</p>
<ul>
<li>Launch an elevated (Run as Administrator) SharePoint 2010 Management shell from start, All Programs, Microsoft SharePoint 2010 Products, SharePoint 2010 Management Shell.</li>
<li>Once the shell opens, type the following command followed by enter:<br />
<strong>(get-spserver $env:computername).NeedsUpgrade</strong></li>
</ul>
<p>If this comes back with &#8220;TRUE&#8221; &#8211; then run the configuration wizard.</p>
<p>Also &#8211; note the link above points out that you also need to apply the June CU if you want to have the most current code-set running on your SharePoint farm.</p>
<p>&nbsp;</p>
<p>Have a beautiful day -</p>
]]></content:encoded>
			<wfw:commentRss>http://www.social-point.com/search-crawls-wont-complete/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Deleting the Search Service in SharePoint 2010</title>
		<link>http://www.social-point.com/deleting-the-search-service-in-sharepoint-2010</link>
		<comments>http://www.social-point.com/deleting-the-search-service-in-sharepoint-2010#comments</comments>
		<pubDate>Thu, 07 Jul 2011 07:21:25 +0000</pubDate>
		<dc:creator>JeffDeVerter</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.social-point.com/?p=578</guid>
		<description><![CDATA[From time to time, deleting the Search Service Application can not be completed through the GUI or through powershell.  Sometime you will get an error like this one: The timer job completed, but failed on one or more machines in the farm. And sometimes the PowerShell command runs indefinitely.  In these circumstances it&#8217;s good old [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time, deleting the Search Service Application can not be completed through the GUI or through powershell.  Sometime you will get an error like this one:</p>
<p>The timer job completed, but failed on one or more machines in the farm.</p>
<p>And sometimes the PowerShell command runs indefinitely.  In these circumstances it&#8217;s good old STSADM to the rescue:</p>
<p><strong>stsadm -o deleteconfigurationobject -id &#8220;<em>service app ID</em>&#8220;</strong></p>
<p>To get the service application ID, use the SharePoint Console (powershell)</p>
<p>Get-SPServiceApplication |?{$_.name -eq &#8220;Search Service Application&#8221;}</p>
<p>Happy deleting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.social-point.com/deleting-the-search-service-in-sharepoint-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Site Teamplates</title>
		<link>http://www.social-point.com/sharepoint-2010-site-teamplates</link>
		<comments>http://www.social-point.com/sharepoint-2010-site-teamplates#comments</comments>
		<pubDate>Fri, 07 May 2010 14:18:59 +0000</pubDate>
		<dc:creator>JeffDeVerter</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.social-point.com/?p=385</guid>
		<description><![CDATA[Here is a great list SharePoint 2010 site templates and their associated name (so you can use them in your wonderful PowerShell cmdlts… http://www.markus-alt.de/blog/?p=118 BTW: if you wanted to get this list yourself, you just need to use the following PowerShell: Get-SPWebTemplate &#124; select Name, Title]]></description>
			<content:encoded><![CDATA[<p>Here is a great list SharePoint 2010 site templates and their associated name (so you can use them in your wonderful PowerShell cmdlts…</p>
<p><a title="http://www.markus-alt.de/blog/?p=118" href="http://www.markus-alt.de/blog/?p=118">http://www.markus-alt.de/blog/?p=118</a></p>
<p>BTW: if you wanted to get this list yourself, you just need to use the following PowerShell:</p>
<p><code>Get</code><code>-SPWebTemplate</code> <code>| </code><code>select</code> <code>Name, Title</code></p>
<p><a href="http://www.social-point.com/wp-content/uploads/2010/05/ScreenshotStudiocapture_16.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Screenshot Studio capture #16" border="0" alt="Screenshot Studio capture #16" src="http://www.social-point.com/wp-content/uploads/2010/05/ScreenshotStudiocapture_16_thumb.png" width="379" height="384" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.social-point.com/sharepoint-2010-site-teamplates/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tenant Administration Sites</title>
		<link>http://www.social-point.com/tenant-administration-sites</link>
		<comments>http://www.social-point.com/tenant-administration-sites#comments</comments>
		<pubDate>Fri, 07 May 2010 13:35:18 +0000</pubDate>
		<dc:creator>JeffDeVerter</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tenancy]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.social-point.com/?p=379</guid>
		<description><![CDATA[SharePoint 2010 has had some major feature investments around the concept of “multi-tenancy”.  What does this mean?  In short – it provides the ability to keep data from one customer (or group) separate from one another.  Part of the features for managing this is a new site type called a “Tenant Administration Site”.  The Tenant [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 has had some major feature investments around the concept of “multi-tenancy”.  What does this mean?  In short – it provides the ability to keep data from one customer (or group) separate from one another.  Part of the features for managing this is a new site type called a “Tenant Administration Site”. </p>
<p>The Tenant Administration (or TA) Site gives the tenant administrator the ability to create new site collections and manage all features that have been assigned to that site subscription. </p>
<p>A Site Subscription is comprised of a unique ID that is used to associate the TA Site, Site Collections, Feature Sets, and Service Applications.  There is a lot there that we will dig into in future posts.  But for now I want to give you a quick tour of the TA Site (site collection – to be specific).</p>
<p>First of all – how do you get one?  This can only be done via PowerShell because of a few of the switches you have to throw at creation time.  Here is the basic syntax:</p>
<p><span style="font-family: Courier New; font-size: x-small;">new-spsite -url </span><a href="http://intranet/sites/CloudAdmin"><span style="font-family: Courier New; font-size: x-small;">http://intranet/sites/CloudAdmin</span></a><span style="font-size: x-small;"><span style="font-family: Courier New;"> -AdministrationSiteType tenantAdministration -template &#8220;tenantadmin#0&#8243; -owneralias <em>{domain user}</em><br />
-SiteSubscription <em>{SiteSubsciptionID}</em></span></span></p>
<p>There are 3 Key switches you need to pay attention to:</p>
<blockquote><p>-<strong>AdministrationSiteType</strong> : When you set this at site collection creation time it sets a flag that this site collection is used to managed tenant site collections.  The site will still create if you don’t set the switch – but many of the features inside of the site collection will not work. </p>
<p>-<strong>Template “tenantadmin#0”</strong> : This is a new site template in SharePoint 2010 that provides the appropriate abilities to manage tenant site collections.</p>
<p>-<strong>SiteSubscription</strong> : This is how you associate the tenant administration site with a SiteSubscription.  Note: This is a one-to-many relationship.  A site collection can only be associated with one Tenant Administration Site while a Tenant Administration Site can be associated with may site collections.</p></blockquote>
<p>Lets take a look at the site:</p>
<p><a href="http://www.social-point.com/wp-content/uploads/2010/05/ScreenshotStudiocapture_14.png"><img style="display: inline; border: 0px;" title="Screenshot Studio capture #14" src="http://www.social-point.com/wp-content/uploads/2010/05/ScreenshotStudiocapture_14_thumb.png" border="0" alt="Screenshot Studio capture #14" width="354" height="215" /></a></p>
<p>The beauty of this site is it delegates many of the activities that the IT Pro had to do for all customers like:</p>
<ul>
<li>Creating new Site Collections</li>
<li>Managing InfoPath Forms Services</li>
<li>Configuring Send-To Connections</li>
<li>Managing Profile Services</li>
</ul>
<p>And many more.  So as you can see – this new feature creates a new level of administration for you to plan for in your Governance plan for your company.  Many people have been slow to come to the table on this “tenant” concept because they think it’s just for Hosting companies.  The reality is I believe it is equally as important in the enterprise for managing site collections and ultimately, keeping sensitive internal content out of the hands of those who shouldn’t see it (HR, General Council…)</p>
<p>Here you can see items that you can manage for Site Collections:</p>
<p><a href="http://www.social-point.com/wp-content/uploads/2010/05/ScreenshotStudiocapture_15.png"><img style="display: inline; border: 0px;" title="Screenshot Studio capture #15" src="http://www.social-point.com/wp-content/uploads/2010/05/ScreenshotStudiocapture_15_thumb.png" border="0" alt="Screenshot Studio capture #15" width="353" height="193" /></a></p>
<p>This is a lot of power to delegate out to your user base – so you’ll definitely want to plan for that education and oversight. One thing I want to point out here – notice that you can create new Site Collections from the Tenant Administration site – this will fail if you don’t have Self-Service Site Creation enabled.  To enable this, go to<strong> Central Admin</strong> &gt; <strong>Application Management</strong> &gt; <strong>Configure self-service site creation</strong>.</p>
<p>Much more to come on tenant administration!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.social-point.com/tenant-administration-sites/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Search and FAST Search</title>
		<link>http://www.social-point.com/sharepoint-2010-search-and-fast-search</link>
		<comments>http://www.social-point.com/sharepoint-2010-search-and-fast-search#comments</comments>
		<pubDate>Fri, 30 Apr 2010 14:21:17 +0000</pubDate>
		<dc:creator>JeffDeVerter</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.social-point.com/?p=337</guid>
		<description><![CDATA[Like many of you, I was (and in some cases) was very confused about how SharePoint 2010 Search and the new FAST Search for SharePoint worked when the FAST product was installed in a SharePoint environment.&#160; My understanding was that when FAST was installed, SharePoint Search ceased to exist.&#160; Turns out – that was wrong. [...]]]></description>
			<content:encoded><![CDATA[<p>Like many of you, I was (and in some cases) was very confused about how SharePoint 2010 Search and the new FAST Search for SharePoint worked when the FAST product was installed in a SharePoint environment.&#160; My understanding was that when FAST was installed, SharePoint Search ceased to exist.&#160; Turns out – that was wrong. Let’s first take a look at a SharePoint Search only scenario:</p>
<p><a href="http://www.social-point.com/wp-content/uploads/2010/04/SearchwithSPOnly.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Search with SP Only" border="0" alt="Search with SP Only" src="http://www.social-point.com/wp-content/uploads/2010/04/SearchwithSPOnly_thumb.png" width="414" height="218" /></a> </p>
<p>So as you can see SharePoint Search indexed the content sources and the “people” directory to create a rich index and property database to be able to provide a rich Search experience.&#160; All of the goodness that has been added to Search in SharePoint 2010 is now available to the end user.&#160; While there has been a lot of enhancements to the new version of search, there still are some limitations that would drive someone to want to use FAST Search for SharePoint (more on that in another post).&#160; </p>
<p>So when FAST is added to the configuration, SharePoint Search is not removed from the configuration – they are actually sharing some of the roles.&#160; Take a look at this diagram:</p>
<p><a href="http://www.social-point.com/wp-content/uploads/2010/04/SearchwithSPandFAST.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Search with SP and FAST" border="0" alt="Search with SP and FAST" src="http://www.social-point.com/wp-content/uploads/2010/04/SearchwithSPandFAST_thumb.png" width="415" height="311" /></a> </p>
<p>Here you can see that SharePoint Search stays around to handle all search aspects of the People directory.&#160; FAST Search for SharePoint take point on indexing all all content.&#160; The secret sauce of providing a unified experience to the end user happens at the Query Object Model.&#160; It’s at this location where the 2 result sets are brought back together and ultimately delivered to the WFE and ultimately to the end user.</p>
<p>So there your go – when you use FAST Search for SharePoint – you are actually using 2 different search technologies.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9e4ec022-4ac2-4785-bc9f-db0185476d9b" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/SharePoint+2010" rel="tag">SharePoint 2010</a>,<a href="http://technorati.com/tags/FAST+Search+for+SharePoint" rel="tag">FAST Search for SharePoint</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.social-point.com/sharepoint-2010-search-and-fast-search/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Power Shell to Create SharePoint Site Collections</title>
		<link>http://www.social-point.com/using-power-shell-to-create-sharepoint-site-collections</link>
		<comments>http://www.social-point.com/using-power-shell-to-create-sharepoint-site-collections#comments</comments>
		<pubDate>Wed, 31 Mar 2010 18:30:49 +0000</pubDate>
		<dc:creator>JeffDeVerter</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.social-point.com/?p=331</guid>
		<description><![CDATA[I work at Rackspace on the Dedicated SharePoint team – which means that we create a new SharePoint farm on dedicated hardware for every customer who comes online with us. This translates to only ever needing to create a few WEB Apps and Site Collections per customer. With this in mind – it&#8217;s usually easier [...]]]></description>
			<content:encoded><![CDATA[<p>I work at Rackspace on the Dedicated SharePoint team – which means that we create a new SharePoint farm on dedicated hardware for every customer who comes online with us. This translates to only ever needing to create a few WEB Apps and Site Collections per customer. With this in mind – it&#8217;s usually easier to just do this via the GUI than to break out Power Shell.</p>
<p>From time to time – we need to create an abundance of sites which makes the argument for &#8220;typing&#8221; stronger. The command its self is:</p>
<p>New-spsite</p>
<p>Below I have listed the help which is available for any PowerShell function via the command:     GET-HELP</p>
<p>NAME</p>
<p style="margin-left: 36pt;">New-SPSite</p>
<p>SYNOPSIS</p>
<p style="margin-left: 36pt;">Creates a new site collection at the specified URL.</p>
<p>SYNTAX</p>
<p>New-SPSite [-Url] &lt;String&gt; -OwnerAlias &lt;SPUserPipeBind&gt; [-AdministrationSiteType &lt;None | TenantAdministration&gt;] [-AssignmentCollection &lt;SPAssignmentCollection&gt;] [-Confirm [&lt;SwitchParameter&gt;]] [-ContentDatabase &lt;SPContentDatabasePipeBind&gt;] [-Description &lt;String&gt;] [-HostHeaderWebApplication &lt;SPWebApplicationPipeBind&gt;] [-Language &lt;UInt32&gt;] [-Name &lt;String&gt;] [-OwnerEmail &lt;String&gt;] [-QuotaTemplate &lt;SPQuotaTemplatePipeBind&gt;] [-SecondaryEmail &lt;String&gt;] [-SecondaryOwnerAlias &lt;SPUserPipeBind&gt;] [-SiteSubscription &lt;SPSiteSubscriptionPipeBind&gt;] [-Template &lt;SPWebTemplatePipeBind&gt;] [-WhatIf [&lt;SwitchParameter&gt;]] [&lt;CommonParameters&gt;]</p>
<p>DESCRIPTION</p>
<p>The New-SPSite cmdlet creates a new site collection with the URL and owner specified by the Url and OwnerAlias parameters.</p>
<p>For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation (http://go.microsoft.com/fwlink/?LinkId=163185).</p>
<p>RELATED LINKS</p>
<p style="margin-left: 36pt;">Get-SPSite<br />
Set-SPSite<br />
Backup-SPSite<br />
Move-SPSite<br />
Restore-SPSite</p>
<p>REMARKS</p>
<p style="margin-left: 36pt;">To see the examples, type: &#8220;get-help New-SPSite -examples&#8221;.<br />
For more information, type: &#8220;get-help New-SPSite -detailed&#8221;.<br />
For technical information, type: &#8220;get-help New-SPSite -full&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.social-point.com/using-power-shell-to-create-sharepoint-site-collections/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

