Automating SharePoint 2010 with Windows PowerShell 2.0

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.

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.

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.

Chapter

Page

Details

Date

Print Run

3

91

Text correction: Error in Code Listing 3.1: SPModule.psd1The 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 statementThe 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 blockThe 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 codeThe 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.

Learn more about

Purchase Options

Permissions

To apply for permission please send your request to permissions@wiley.com with
specific details of your requirements. This should include, the Wiley title(s), and the specific portion of the content you wish to re-use
(e.g figure, table, text extract, chapter, page numbers etc), the way in which you wish to re-use it, the circulation/print run/number of people
who will have access to the content and whether this is for commercial or academic purposes. If this is a republication request please include details
of the new work in which the Wiley content will appear.