Starting the SharePoint 2010 Foundation Search Service using PowerShell

Posted on 7 CommentsPosted in Scripts, SharePoint 2010

It’s been a while since my last real SharePoint 2010 scripting post but we’re getting close to RTM so I figured I need to buckle down and play some catch up and get some long overdue posts published. So, continuing my series of posts on scripting the various services and service applications within SharePoint 2010 I decided that I would share something that I know a lot of people have been struggling with recently – […]

Creating a SharePoint 2010 Enterprise Search Service Application using PowerShell

Posted on 30 CommentsPosted in Scripts, SharePoint 2010

The information in this post is specific to SharePoint 2010 Beta 2 and may need adjusting for the RTM version. In an effort to continue with my previous posts where I demonstrated how to build a basic farm and it’s site structure using XML configuration files and PowerShell for SharePoint 2010 I would like to now share how to create a search service application. An automated install of the service applications is, without a doubt, […]

Creating a SharePoint 2010 Site Structure Using PowerShell

Posted on 14 CommentsPosted in Scripts, SharePoint 2010

In a previous post I detailed how to use PowerShell to perform what would be otherwise done using PSConfig to create an initial SharePoint Farm. In this post I will continue the example and show how to create your web applications using a simple XML configuration file and a reusable script. Like the previous example I have a very basic XML file that defines my web application structure. In this example I’ve included not only […]

Creating Custom SharePoint 2010 Cmdlets using Visual Studio 2010

Posted on 5 CommentsPosted in Article, PowerShell Cmdlets, SharePoint 2010

With SharePoint 2010 we now have the ability to create custom PowerShell cmdlets that can be deployed just like any other SharePoint artifact using SharePoint Solution Packages (WSP) created with Visual Studio 2010. With SharePoint 2007 it was necessary to build a custom setup (MSI) package which had to be run on every server in the farm. This setup package would register a custom snap-in that you’d have to create which would be responsible for […]

SharePoint 2010: PSConfig and PowerShell

Posted on 23 CommentsPosted in Article, PowerShell Cmdlets, SharePoint 2010

The information in this article is based on BETA 2 of SharePoint 2010 – there may be differences with the RTM release. Update 12/18/2009: I’ve updated the post to reflect BETA 2 changes and have considerably simplified the script removing all the dependencies on helper functions so that the core pieces required to build a basic farm are focused on rather than the complex elements to support tracing and error handling as I previously had […]

SharePoint 2010: STSADM and PowerShell

Posted on 6 CommentsPosted in Article, PowerShell Cmdlets, SharePoint 2010

The information in this article is based on BETA 2 of SharePoint 2010 – there will likely be differences with the RTM release. Finally, the NDA is lifted and we can openly talk about SharePoint 2010! There’s so many cool things to talk about it’s hard to decide where to begin, but as the focus of my blog has generally been on STSADM then I suppose that’s a good place to start. The first thing […]