// archives

Archive for September, 2011

SharePoint Extension: Get-SPWebRelative

The main reason I began writing my PowerShell extensions was that I needed to do some in-depth traversal of the SharePoint farm and its content.  I’m going to demonstrate some of those extensions now, using 
Getting an SPWeb
The conventional way of obtaining a reference to an SPWeb is:

get-spweb http://mybiglongservername:8080/path/to/web

Because this requires a fully-qualified URL, [...]

SharePoint PowerShell: Remove duplicate WebParts

Last week I received an email from a colleague who was having problems with a SharePoint 2007 upgrade.  Actually, the upgrade went fine, but when he moved a Publishing Site Collection to a subsite of an existing site collection, he ran into several problems, one of which was that each page had a duplicate set [...]

PowerShell ISE: Use it instead of PowerShell.exe

PowerShell.exe is for losers.

New Codeplex project: Winston’s PowerShell Extensions

I’ve been using PowerShell since it came out, and along the way I cobbled together a bunch of cmdlets, functions, and filters to create a fairly robust PowerShell toolkit.