PowerShell Script to Transfer Search Configuration

I was working with a client a little while back and we needed an easy way to setup search on the dev and test SharePoint environments. What I came up with to resolve that issue was the following script that will take a source and destination URL and it will transfer the search settings from the one environment to the other. I am publishing this with the consent of and at the request of this client because he thought it was cool enough to share. I have not used this in a while but I do remember that there were some interesting error messages that came up when trying to migrate the schema because of duplicate properties but there is an option to exclude that if you are getting those errors. Enjoy.

I tried embedding the scriptlet itself but some of the xml was getting lost so here is a zip of the ps1 file.

TransferSearchConfiguration-SPKnight

SharePoint Fest Seattle 2015

I have been invited to present the following sessions at SharePoint Fest Seattle 2015 August 18-20, 2015. I look forward to meeting with everyone and sharing this information.

SharePoint Fest Seattle 2015 Session Abstracts

DEV 203 – SharePoint 2013 and AngularJS Lessons Learned from the Trenches

Thanks to SharePoint 2013 it is a lot easier to be able to create client based solutions. AngularJS is one of the solutions out there that allows developers to create applications very quickly through an MVC implementation.

In this session we will go over the basics of AngularJS in regards to apps, controllers, services, and views. We will create a simple application built entirely through client technologies and in SharePoint. The principles learned here can be used anywhere in SharePoint whether it is a Farm Solution in an on-premise environment or in an app on Office 365.

Come learn a lot of the pitfalls to avoid and some best practices that will help you love AngularJS as another tool in a developers tool belt.

SIA 105 – PowerShell to the Rescue, For Developers and Admins

As a developer PowerShell was one of those tools that had to be used to deploy things to SharePoint, but it is so much more. PowerShell allows the easy creation of simple or complex scripts to accomplish so many things. PowerShell can even be used to manage your SharePoint environment remotely.

In this session we will cover the basics of PowerShell and then we will dive into some concepts that will be beneficial for anyone that works with the SharePoint backend. We will cover how to use PowerShell to automate both on premise and Office 365 SharePoint environments.

SharePoint Search and PowerShell Automation Script

I was working at a client where we had to rebuild their search service to try and alleviate some issues that they were experiencing and as part of this I came to the realization that manually creating managed properties has got to stop. The problem is that there is no easy way to move service scoped properties from one server to another. Also as a developer, the fact that this is not easily deployed bugs me. I want to be able to deploy the properties consistently. I don’t want to have to go back and create them again and wait for another full crawl because I missed one or typed the name in wrong. What’s worse is there is no way of  putting this configuration into version control to create a baseline configuration. Continue reading “SharePoint Search and PowerShell Automation Script”