Adding a New Search Partition and Replica in SharePoint 2013

I think there are probably resources out there somewhere for this by now, but I had a hard time finding them when I went looking for them previously so I thought I'd just post it here.  Fortunately my friend Knut B. was good enough to shoot me some PowerShell a while back to help you manage your…

4

How to Configure the Global Search Center Url for SharePoint 2013 using PowerShell

I had this question come up today and it was a little bit of work to track down so I thought I would share here.   In SharePoint 2013 the Search Service Application has something called a Global Search Center Url.  In the absence of any other configuration, this is where folks will get redirected to run their queries. …

3

Adding A Custom Claim to a Web App Policy via PowerShell in SharePoint 2010

I found this process to be much more difficult than anticipated, and then much easier than expected once done so I figured I would do a quick post on it.  The task at hand was to add a custom claim to a web app policy via PowerShell.  It all works simple enough via the central…

3

Using PowerShell for SharePoint 2010 in C#

A buddy of mine at Microsoft was good enough to point me to this video on channel 9 that talks about using PowerShell from your C# code without doing the dreaded process and spawn routine we've probably all used before.  To begin with, watch the 4 minute video at https://channel9.msdn.com/posts/bruceky/How-to-Embedding-PowerShell-Within-a-C-Application/.  Once you get the basic…

6

How to Override the Default Name Resolution and Claims Provider in SharePoint 2010

An issue that has frustrated a lot of folks since SharePoint 2007 and the WebSSO provider, and that continues today in SharePoint 2010 when using claims authentication with something like ADFS v2, is name resolution.  Meaning that in most cases you can type in any random value you want into the search box, and the…

11

How to Create Multiple Claims Auth Web Apps in a Single SharePoint 2010 Farm

The question has been coming up more frequently lately about how does one configure multiple web apps that use claims authentication in SharePoint 2010.  The primary point of confusion usually comes around the SPTrustedIdentityTokenIssuer.  As I noted in a previous post (http://blogs.technet.com/speschka/archive/2010/02/17/planning-considerations-for-claims-based-authentication-in-sharepoint-2010.aspx), you can only associate a token-signing certificate from an STS with one SPTrustedIdentityTokenIssuer. …

17

Manually Adding Query Suggestions in SharePoint 2010

One of the great new features around Search in SharePoint 2010 is the concept of query suggestions.  There are pre-query and post-query suggestions.  A pre-query suggestion is a type-ahead feature that appears in the search box on the search page.  As you start typing in your query, SharePoint will go find other queries that have…

10

Creating both an Identity and Role Claim for a SharePoint 2010 Claims Auth Application

For various reasons getting a claims based authentication web application up and working correctly with both an identity claim and a role claim has been troublesome to say the least.  So I'm going to share here the steps just around creating the claims and the SPTrustedIdentityTokenIssuer. 1. Create the identity claim: $map = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"…

6

Reflecting on PowerShell in SharePoint 2010

As we all know, sometimes we just get stuck trying to figure out how to get from point A to point B when working through some SharePoint coding scenario.  One of the things that comes up more frequently in this regardin in SharePoint 2010 has to do with the PowerShell cmdlets that are used so…

2