Just Add Code

DevConnections – PowerShell for SharePoint Developers

My final presentation at SharePoint Connections was the one I’d been looking forward to the most.  I’m a big fan of using PowerShell and SharePoint together, it was great to show a crowd some of the thing they could do.  I’d done a couple hour PowerShell presentations (that always seemed to run long) before, but never with SharePoint.  The challenge this time was to do them both together…in an hour.  I was able to get through everything I’d planned and now I have some more detailed content that didn’t fit into the presentation that I can put into some future posts.

The deck is now uploaded, and as promised, you didn’t miss out if you couldn’t write down all my commands.  Nearly all of the commands are here, incorrect statements and all.  I also have my profile, so you can see how I cheated in my other presentations.

I also made a basic PowerShell Types (ps1xml) file to demonstrate the how to extend familiar types to make them easier to work with.  You can grab the file and use it in your own development environment, though I probably wouldn’t rely on it in production quite yet.  Remember to get it started you need to:

Update-TypeData -prepend JustAddCode.Types.ps1xml

3 comments Digg this

3 Comments so far

  1. [...] in Las Vegas this year (Nov 5-8, 2007) and one of my favorite sessions was titled "PowerShell for SharePoint Developers" presented by Neil Iversen who is a regular presenter at the Minnesota SharePoint User [...]

  2. [...] available for download.  Additionally, if you were interested in another example of this, the PowerShell for SharePoint Developers session I did at DevConnections has another good example of where a PS1XML can be [...]

  3. [...] you’re a SharePoint developer or admin, you need to learn PowerShell (Neil Iverson had a good intro at DevConn). If you do use PowerShell, you might want to follow the PowerShell Team Blog. If you don’t, [...]

Leave a reply