Scripts

The book is full with code examples and scripts that are described in details and in a straight forward way. In this section you find all the complete scripts used in the book. To get all the examples and the descriptions we recommend you to read the book, you will not get disappointed

Part III: SharePoint 2010 and PowerShell: Real World Solutions

Chapter 9 Scripted Installation

New-SPInstallation

Chapter 10 Working with Web Applications

Deploy-SPSolution
Set-FBAConfig

Chapter 11 Working with Site Collections

Create-RequestedSites
Get-Excel

Chapter 12 Managing Sites

Mail-SiteOwner

Chapter 13 Managing the Look and Feel of Sites

Get-SPTheme
Get-SPThemeName
New-SPQuickLaunchNode
New-SPTopNavigation
Set-SPSiteLogo
Set-SPTheme

Chapter 14 Working with SharePoint Lists

Get-SPList
New-SPChoiceField
New-SPList
New-SPLookupField
New-SPTextField
New-SPView
Remove-SPList
Remove-SPView
Set-SPListOnQuickLaunch

Chapter 15 Managing SharePoint List Items

Copy-SPListItem
Get-SPListItem
Remove-SPListItem

Chapter 16 Managing Documents in Document Libraries

Add-SPContentTypeToList
Copy-SPDocumentLibrary
Invoke-SPFileCheckin
Invoke-SPFileCheckout
Upload-SPFile

Chapter 17 Manage Versioning

Set-SPContentApproval
Set-SPDraftItemSecurity
Set-SPRequireCheckout
Set-SPVersionHistory

Chapter 18 Managing Service Applications

Add-SPMetadataPermission

Chapter 19 Managing Users and Groups

Get-SPGroup
New-SPGroup
Remove-SPGroup
Set-SPGroup

Chapter 20 Working with Content Databases

Rename-SPContentDatabase
Set-SQL

Chapter 21 Backup & Restore

Export-SPUnattachedList