Print this page Share

Automating SharePoint 2010 with Windows PowerShell 2.0

ISBN: 978-0-470-93920-8
768 pages
June 2011
Automating SharePoint 2010 with Windows PowerShell 2.0 (0470939206) cover image


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.

See More

Table of Contents


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.


See More

Author Information

Gary Lapointe is an independent consultant and founding partner of Aptillon, Inc. He has been awarded SharePoint MVP each year since 2007. Gary focuses on SharePoint automation and blogs regularly at http://blog.falchionconsulting.com. Shannon Bray is a technical architect at Planet Technologies. He is also a consultant and trainer with a specialization in SharePoint, ASP.NET, and C#. Shannon is a Microsoft Certified Trainer and holds MCPD and MCITP certifications for SharePoint 2010.

See More


Download TitleSizeDownload
Appendix A 2.42 MB Click to Download
Chapter 4 scripts 3.32 KB Click to Download
Chapter 11 Scripts 1.94 KB Click to Download
Chapter 12 Scripts 3.81 KB Click to Download
Chapter 13 Scripts 15.07 KB Click to Download
Chapter 14 Scripts 6.76 KB Click to Download
Chapter 15 Scripts 5.63 KB Click to Download
Chapter 20 Scripts 3.01 KB Click to Download
See More


Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
3 91 Text 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
7/20/11 1st
3 94 Text 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"
7/20/11 1st
3 95 Text 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..."
7/20/11 1st
3 98, 99 Text 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"

7/20/11 1st
4 122 Text 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.
7/20/11 1st
See More

Related Titles

Learn more about

Back to Top