PowerShell to Deploy an SSA Across Multiple Servers (v2.0)

A few years back, I published a PowerShell script to deploy a SharePoint Search Service Application across multiple servers, but it admittedly had a few quirks in regards to Index path location… until now.

Below, I’ve attached the new/updated version 2.0 of the deploy script (and will also upload to the TechNet Scripts center soon) and have a screen shot below. From the screen shot, notice the prompts in yellow that occurred when I configured a path for my Index that did not exist. With confirmation, the script will then create any paths that did not exist on a remote or local servers.


Also, this easily handles the provisioning single server deployments, multi-server SSAs, and even high density scenarios with multiple Index replicas per server. Like in the previous version of the script, all you need to do is edit the configuration at the top of script to fit your needs, save it, and then run (but in this version, you can run it on ANY server in the farm.

And, I want to thank Jon Waite for a contribution on this script... now, you can also configure the Default Content Access Account (aka: the "crawl account"). After the SSA is fully provisioned, you'll get prompted for the credentials.

I hope this help...

As always, this comes with my standard disclaimer:  

ALL information in this blog is provided "AS IS" with no warranties and confers no rights. This blog does not represent the thoughts, intentions, plans or strategies of my employer. All content is solely my opinion and provided with a best effort to be based in reality. All examples, code samples, demonstrations, or anything resembling a “how-to” are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. Inappropriate comments will be deleted at the authors discretion. And yes, the spelling of strategery was intentional.