Skip to main content

Automating SharePoint 2010 with Windows PowerShell 2.0

Automating SharePoint 2010 with Windows PowerShell 2.0

Gary Lapointe, Shannon Bray

ISBN: 978-0-470-93920-8

Jun 2011

768 pages

Select type: Paperback

Product not available for purchase


Authoritative coverage of the latest version of Microsoft?s fastest-selling product

Imagine being able to perform a task that requires dozens of clicks with just a single command, or automate a series of identical tasks rather than repeat them. This book shows you how to do just that?and more?by using Windows PowerShell cmdlets with SharePoint 2010. Focused on everyday and frequently performed tasks, this invaluable guide provides PowerShell solutions for maintaining a SharePoint environment and explains how more than 500 cmdlets that come with SharePoint 2010 allows you to automate just about anything. Step-by-step instructions walk you through the necessary concepts and real-world examples enhance your learning process.

  • Highlights the ways in which PowerShell cmdlets take the tedium out of executing frequently performed commands in SharePoint 2010 by automating everyday tasks
  • Explains how to install and configure a SharePoint environment
  • Details the steps for deploying and managing Web applications, site collections, authentication, and solution packages
  • Shows you how to manage operational settings and back up and restore data

Automating SharePoint 2010 with Windows PowerShell 2.0 helps you save time and effort performing common tasks so that you can be more productive.


Part 1: Getting Started with Windows PowerShell Basics.

Chapter 1: PowerShell 101.

Chapter 2: Making Your PowerShell Reusable.

Chapter 3: Filtering and Iterating Your Data.

Part 2: Installing and Configuring a SharePoint 2010 Environment.

Chapter 4: Deploying New Installations and Upgrades.

Chapter 5: Configuring Server Communications.

Chapter 6: Configuring Farm Application Settings.

Part 3: Deploying and Managing Applications.

Chapter 7: Managing Web Applications.

Chapter 8: Managing Site Collections.

Chapter 9: Understanding Authentication.

Chapter 10: Managing Features and Solutions.

Part 4: Services and Service Applications.

Chapter 11: Understanding Service Applications.

Chapter 12: Provisioning Support Services.

Chapter 13: Provisioning Business Insight Services.

Chapter 14: Provisioning Search Services.

Chapter 15: Provisioning Metadata and User Profile Services.

Part 5: Managing and Maintaining a SharePoint Environment.

Chapter 16: Managing Operational Settings.

Chapter 17: Backing Up and Restoring a SharePoint Environment.

Chapter 18: Optimizing the Performance of a SharePoint Environment.

Part 6: Advanced Administration.

Chapter 19: Remote Administration.

Chapter 20: Multi-Tenancy.


Chapter 14 Scripts Download
Chapter 4 scripts Download
Chapter 11 Scripts Download
Appendix A Download
Chapter 13 Scripts Download
Chapter 15 Scripts Download
Chapter 20 Scripts Download
Chapter 12 Scripts Download
391Text correction: Error in Code Listing 3.1: SPModule.psd1,The Import-Module cmdlet in the paragraph at the bottom of the page:

PS C:\Scripts> Import-Module .\Build-SPFarm.psd1

Should read:

PS C:\Scripts> Import-Module .\SPModule.psd1
394Text correction: Error in function with trap statement,The fourth-to-last line of code in the Build-SPFarm function:

Write-Host Join Farm complete

should read:

Write-Host Create Farm complete
395Text correction: Error in discussion of functions with trap statements ,The second sentence of the first paragraph after the code block, Also notice that the 'Join farm complete' message was not displayed...

should read: Also notice that the 'Connect to Farm complete' message was not displayed...
398, 99Text correction: Error in function with Try/Catch/Finally block,The Write-Host statement appearing in the blocks of code on pp 98 and 99:

Write-Host Join Farm complete

Should read:

Write-Host Create Farm complete

4122Text correction: Error in code,The fifth line in the second block of code on the page,

-ArgumentList /config $configPath ` contains an error.
It should read
-ArgumentList /config ` $configPath` `, so that $configPath has ` before and after it.