A few really great places to start with PowerShell and SharePoint

Learn PowerShell in a month of lunches

Don Jones you tube channel and a smart TV – https://www.youtube.com/user/powershelldon queue them all up over Christmas break and watch all 99 videos covering 24 Chapter in Don’s book “Learn PowerShell in a Month of Lunches”.

Where did those commands go?

Microsoft has created a pretty cool PowerShell tool, although like anything else in life, it’s not perfect. Here’s a link to it and a couple things I noticed:

http://www.microsoft.com/resources/TechNet/en-us/Office/media/WindowsPowerShell/WindowsPowerShellCommandBuilder.html

The PowerShell builder from Microsoft is nice; but, for some reason SP Farm disappears from the noun list after putting the verb “get” into the selector. I also didn’t see the ability to Get-SPFeature, which is handy when you’re cleaning up Missing server side dependencies. And, seems like when you choose the verb “Backup” that SP Site should be one of the choices from the Nouns.

Backup-SPSite

Speaking of Backup-SPsite

It’s a common mistake, “and who hasn’t done this too when starting out”, to think of Backup-SPsite as a method to backup a SharePoint site and that’s partially true. You can use it to backup an entire collection of Sites, aka a Site Collection; but, you can’t use it to backup a subsite. To backup a subsite you need to use export-spweb.  This is this way because when Microsoft created the Powershell’s involved in backing up site collections and subsites, they followed the object model where a Site collection is referred to as a Site and a subsite, or site, is referred to as a web.

Jack Fruh has a great resource on PowerShell and SharePoint management shell’s that does a much better job of explaining this than I just did, and you should check it out:

http://sharepointjack.com/2013/powershell-cheat-sheet-v2-00/combined-powershell-and-sharepoint-cheat-sheet/

 

What PowerShell reference would be complete without a nod to Todd Klindt?

Check out his weekly net cast: https://www.youtube.com/watch?v=5mjoyRXg1tk&feature=youtu.be

Check out this search result for powershell from his blog:  http://www.toddklindt.com/blog/Lists/Categories/Category.aspx?CategoryId=8&Name=PowerShell

 

Some good ones:

 

 

 

 

Leave a Reply