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, [...]
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.exe is for losers.
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.