Project Description
This is a library of PowerShell scripts for working with Microsoft SharePoint Server, version 2007 and newer.

I have some scripts that help when developing SharePoint workflows. I have others that help when building out an intranet site (in particular, adding Announcements, Links, and a Calendar to a site).

If you are working with MOSS 2007, many of them depend on Zach Rosenfield's Get-SPweb function that he posted to his blog at http://sharepoint.microsoft.com/blogs/zach/Lists/Posts/Post.aspx?List=90bbfd11-c9a5-45cf-a77e-19559aae81ae&ID=7. I have additional information about these scripts on my blog at http://blumenthalit.net/blog.

Feedback welcome. Code reviews welcome.

Update 23 July 2008: Got Zach Rosenfield's permission and included his script in the project. It defined a number of handy functions beyond just Get-SPWeb! See Define-SharePoint-Functions.ps1 (http://www.codeplex.com/PSBB/SourceControl/FileView.aspx?itemId=259920&changeSetId=20689).

Update 3 March 2009: This project mentioned on SharePoint Pod Show. See http://blumenthalit.net/blog/Lists/Posts/Post.aspx?ID=111 for details and another PowerShell script (not yet added to the project).

Update 16 June 2010: Most of these scripts should work under SharePoint 2010 too. Note that SharePoint 2010 comes with a library of PowerShell cmdlets so that you don't need to define your own Get-SPWeb (for example),. Also see http://blumenthalit.net/blog/Lists/Categories/Category.aspx?Name=PowerShell%20and%20SharePoint for more examples of PowerShell scripts for SharePoint.

Update 8 September 2013. Many of these scripts work under SharePoint 2013 too. Note that from SP2010 on, you don't need the script that defines Get-SPWeb because those are built in.

Last edited Sep 8, 2013 at 3:42 PM by michaelbl, version 7