Every now and again I like to post a bunch of links and resources I have found recently on using PowerShell for SharePoint – mainly so that I don’t forget about them myself!
- PowerShell Reference for SharePoint 2010 - http://splabs.codeplex.com/releases/view/49118. Free eBook with over 2500 pages documenting all PowerShell cmdlets for SharePoint 2010.
- Set object caching user accounts with PowerShell - http://www.sharepointnutsandbolts.com/2010/09/set-object-caching-user-accounts-with.html. Great article by Chris O’Brien on why you need to configure object caching in SharePoint 2010 and how to do it using a PowerShell script.
- SharePoint 2010 PowerShell Feature Cmdlets - http://www.sharepointanalysthq.com/2010/09/sharepoint-2010-powershell-feature-cmdlets-2/. Nice overview of how to manage features using PowerShell.
- Set Site Collection Search Settings by PowerShell - http://mrhodes.net/2010/09/14/set-site-collection-search-settings-by-powershell/. Very handy as this is not easy to find.
- Finding site templates in SharePoint 2010 through PowerShell - http://secretsofsharepoint.com/cs/blogs/tips/archive/2010/09/09/finding-templates-in-sharepoint-2010-through-powershell.aspx. Very simple, but extremely useful.
- PowerShell articles for SharePoint 2010 on the Hey, Scripting Guy! blog - http://blogs.technet.com/b/heyscriptingguy/archive/tags/windows+powershell/sharepoint/. Keep your eye on this page. There are already a bunch of very useful scripts on here, which I have no doubt will be added to over the next few months.
- Getting an Inventory of All SharePoint Documents Using Windows PowerShell - http://stsadm.blogspot.com/2010/08/getting-inventory-of-all-sharepoint.html. Some useful techniques going on here – especially using PSObject to provide piping to Out-GridView and Export-Csv cmdlets.
- Find error messages with a Correlation ID token in SharePoint 2010 - http://www.zimmergren.net/archive/2010/09/03/sp-2010-find-error-messages-with-a-correlation-id-token-in-sharepoint-2010.aspx. Tobias Zimmergren provides us with a few ways of tracking correlation ID’s in SharePoint 2010 – one of them being PowerShell.