December 2009 Entries

General PowerShell tips for SharePoint gurus and PowerShell newbies

If you’ve been working with SharePoint for a while and you’ve been happily coding and clicking and STSADM-ing away you need to get skilled up in writing PowerShell scripts as well now. In my last post I described my first useful PowerShell script. While writing that I bumped in to a couple of things that took me a while to figure out, so I decided to list them in this post to try and save others some time. The first one is loading another PowerShell file in the current script. This can be useful if you have to...

A PowerShell script to automate the creation of SharePoint site collections

I must admit it. I’ve never really done anything with PowerShell. Sure, the Macaw Solutions Factory is largely based on PowerShell, but I usually just use that as-is, or make minor changes to existing scripts. So starting to work with PowerShell for SharePoint is all new. I read a PowerShell book over the summer holidays to get a little bit of an understanding about PowerShell, but as everyone knows, reading about it is very different from actually using it and doing it hands on. So last week I took my first baby steps...