PowerShell for Microsoft SharePoint 2010 Administrators

Book description

Take control of SharePoint 2010 with PowerShell!

Administer SharePoint 2010 using PowerShell with help from this practical guide. PowerShell for Microsoft SharePoint 2010 Administrators explains how to configure and manage the latest version of the powerful enterprise collaboration platform. Find out how to automate the installation process, construct dynamic SharePoint environments, create and extend Web applications, and manage service applications. Backup, security, and performance enhancement techniques are also fully covered in this comprehensive resource.

  • Understand key SharePoint 2010 concepts and components
  • Learn the basics of PowerShell for SharePoint administration
  • Develop custom PowerShell scripts and functions
  • Automate SharePoint 2010 management using PowerShell
  • Manage Web applications and content databases
  • Administer sites and site collections
  • Control list items and metadata
  • Handle document management
  • Enable Remote BLOB Storage
  • Query SQL Server databases

Table of contents

  1. Cover Page
  2. PowerShell for Microsoft® SharePoint® 2010 Administrators
  3. Copyright Page
  4. At a Glance
  5. Contents
  6. Foreword
  7. Acknowledgments
  8. Introduction
  9. PART I An Introduction to SharePoint 2010
    1. 1 Overview of SharePoint 2010
      1. Capability Areas of SharePoint 2010
        1. Sites
        2. Communities
        3. Content
        4. Search
        5. Insights
        6. Composites
      2. Improvements for Administrators in SharePoint 2010
        1. Flexible Deployments
        2. Productivity
        3. Unified Infrastructure
      3. System Requirements
      4. Architectural Components
        1. Server Farm
        2. Service Applications
        3. Application Pools
        4. Web Applications
        5. Content Databases
        6. Site Collections
        7. Sites
        8. My Sites
      5. Summary
    2. 2 Managing Sharepoint 2010
      1. Central Administration
        1. Web Applications Management
        2. Service Application Management
        3. Health and Monitoring
        4. Backup and Restore
        5. Configuration Wizard
        6. Managed Accounts
      2. STSADM
      3. SharePoint Designer
      4. Summary
  10. Part II An Introduction to PowerShell in SharePoint 2010
    1. 3 Getting Started with PowerShell in SharePoint 2010
      1. Starting Up Windows PowerShell
      2. Windows PowerShell Basics
        1. Why Use Windows PowerShell?
        2. What Are Objects in Windows PowerShell?
        3. What Are Windows PowerShell Cmdlets?
      3. SharePoint 2010 Cmdlets
        1. Finding the SharePoint 2010 Cmdlets
      4. Pipelines
        1. Using Select-Object in a Pipeline
        2. Measuring Objects in Windows PowerShell
        3. Sorting Objects in Windows PowerShell
      5. Summary
    2. 4 Managing Sharepoint 2010 with Windows Powershell
      1. Managing Permissions in SharePoint 2010
      2. Managing Content Databases in SharePoint 2010
        1. Getting a SharePoint 2010 Content Database
        2. Configuring the SharePoint 2010 Content Database
        3. Attaching and Detaching a Content Database in SharePoint 2010
        4. Creating a New Content Database
        5. Removing a Content Database in SharePoint 2010
      3. Managing SharePoint 2010 Web Applications
        1. Getting Web Applications in SharePoint 2010
        2. Modifying Web Applications in SharePoint 2010
        3. Creating a New Web Application in SharePoint 2010
        4. Removing a Web Application in SharePoint 2010
      4. Managing SharePoint 2010 Sites
        1. Configuring a Site Collection in SharePoint 2010
        2. Backing Up and Restoring Site Collections in SharePoint 2010
        3. Creating a New Site Collection
        4. Removing Site Collections in SharePoint 2010
      5. Managing SharePoint 2010 Sites
        1. Creating Sites in SharePoint 2010
        2. Configuring Sites in SharePoint 2010
        3. Exporting and Importing Sites in SharePoint 2010
        4. Removing Sites in SharePoint 2010
      6. Summary
    3. 5 Variables, Arrays, and Hashtables
      1. Variables in Windows PowerShell
        1. Working with Variables
        2. Data Types
        3. Properties and Methods
        4. Automatic Variables
        5. Preference Variables
        6. Environment Variables
      2. Arrays in Windows PowerShell
      3. Hashtables in Windows PowerShell
      4. Summary
    4. 6 Operators
      1. Arithmetic Operators
      2. Assignment Operators
      3. Comparison Operators
      4. Logical Operators
      5. Redirection Operators
      6. Type Operators
      7. Special Operators
      8. Summary
    5. 7 Flow Control and Object Disposal
      1. Conditional Statements
        1. The if/elseif/else Statement
        2. The switch Statement
      2. Looping Statements
        1. The for Loop
        2. The do/while Loop
        3. The foreach Loop
      3. Flow-Control Cmdlets
        1. The ForEach-Object Cmdlet
        2. The Where-Object Cmdlet
      4. Object Disposal
        1. Dispose Method
        2. The Start-SPAssignment and Stop-SPAssignment Cmdlets
      5. Summary
    6. 8 Functions, Scripts, and Remoting
      1. Windows PowerShell Functions
      2. Windows PowerShell Scripts
        1. Setting the Execution Policy
        2. Executing Scripts
        3. Using Parameters in Scripts
        4. Writing Comment-Based Help Topics in Scripts
        5. Using Functions in Scripts
        6. Customizing Windows PowerShell with Profile Scripts
      3. Windows PowerShell Remoting
        1. Entering a Remote Session
        2. Running SharePoint 2010 Cmdlets Remotely
      4. Summary
  11. PART III SharePoint 2010 and PowerShell: Real-World Solutions
    1. 9 Scripted Installation
      1. Scripted Installation of SharePoint 2010 Using Windows PowerShell
      2. Automate a SharePoint 2010 Installation
      3. Connecting and Disconnecting Servers with Windows PowerShell
      4. Additional Functionality in SharePoint 2010
      5. Summary
    2. 10 Working with Web Applications
      1. Extending a Web Application
        1. Creating Managed Accounts
        2. Create a New Web Application
        3. Extending the New Web Application
        4. Scripting the Extranet Solution
      2. Deploying Solution Packages
        1. Using Cmdlets to Manage Solution Packages
        2. Scripting Solution Package Updates
      3. Additional Functionality in SharePoint 2010
      4. Summary
    3. 11 Working with Site Collections
      1. Creating Site Collections Based on an Excel Spreadsheet
        1. Working with Excel Spreadsheets
        2. Creating the Site Collections
      2. Creating Site Collections Based on Items in a SharePoint 2010 List
        1. Working with SharePoint 2010 Lists
        2. Scripting the Site Collection Creation
      3. Additional Functionality in SharePoint 2010
      4. Summary
    4. 12 Managing Sites
      1. Validating Site Usage
      2. Getting Site Contact Information
      3. Check Site Usage Script
      4. Additional Functionality in SharePoint 2010
      5. Summary
    5. 13 Managing the Look and Feel of Sites
      1. Managing Themes
        1. Getting the Current Theme
        2. Getting the Available Themes
        3. Setting a New Theme
      2. Changing the Site Logo, Title, and Description
        1. Changing the Logo
        2. Changing the Title and Description
      3. Managing Navigation
        1. Enabling the Tree View
        2. Managing the Quick Launch Navigation
        3. Managing Top Navigation
      4. Additional Functionality in SharePoint 2010
      5. Summary
    6. 14 Working with Sharepoint Lists
      1. Managing SharePoint Lists
        1. Creating a New List
        2. Creating a Custom List
        3. Getting List Instances
        4. Adding Lists to the Quick Launch Bar
        5. Deleting Lists
      2. Managing SharePoint Fields
        1. Creating a New Field
        2. Adding a Choice Field
        3. Adding a Lookup Field
      3. Managing SharePoint Views
        1. Modifying a View
        2. Creating a New View
        3. Removing a View
      4. Additional Functionality in SharePoint 2010
      5. Summary
    7. 15 Managing SharePoint List items
      1. Creating List Items
      2. Updating List Items
      3. Deleting List Items
      4. Copying List Items
      5. Additional Functionality in SharePoint 2010
      6. Summary
    8. 16 Managing Documents in Document Libraries
      1. Working with Document Libraries
        1. Creating Document Libraries
        2. Uploading and Managing Files
        3. Copying Documents Between Document Libraries
        4. Checking Out Files
        5. Checking In Files
      2. Managing Content Types
      3. Additional Functionality in SharePoint 2010
      4. Summary
    9. 17 Managing Versioning
      1. Content Approval
      2. Version History
      3. Draft Item Security
      4. Require Check Out
      5. Additional Functionality in SharePoint 2010
      6. Summary
    10. 18 Managing Service Applications
      1. Working with Service Applications
        1. Creating Service Applications
        2. Managing Service Applications
        3. Removing Service Applications
      2. Sharing Service Applications Between Farms
        1. Exchanging Root Certificates
        2. Copying an STS Certificate
        3. Configuring the Application Discovery and Load Balancing Service Application
        4. Publishing a Service Application
      3. Additional Functionality in SharePoint 2010
      4. Summary
    11. 19 Managing Users and Groups
      1. Working with Groups
        1. Creating Groups
        2. Modifying SharePoint Groups
        3. Removing Groups
      2. Working with Users
        1. Adding Users in SharePoint 2010
        2. Modifying Users in SharePoint 2010
        3. Removing Users in SharePoint 2010
      3. Additional Functionality in SharePoint 2010
      4. Summary
    12. 20 Working with Content Databases
      1. Managing Content Database Naming
        1. Storing Content Database Information
        2. Detaching Content Databases
        3. Renaming Content Databases
        4. Reattaching Content Databases
        5. Scripting Content Database Renaming
      2. Setting Up Remote BLOB Storage
        1. Configuring the Database to Use RBS
        2. Installing the RBS Provider
        3. Enabling RBS in SharePoint 2010
      3. Additional Functionality in SharePoint 2010
      4. Summary
    13. 21 Backup and Restore
      1. Backing Up and Restoring SharePoint Farms
      2. Creating Database Snapshots
      3. Exporting and Importing Sites, Lists, and List Items
      4. Restoring Data from an Unattached Content Database
      5. Additional Functionality in SharePoint 2010
      6. Summary
  12. Index

Product information

  • Title: PowerShell for Microsoft SharePoint 2010 Administrators
  • Author(s): Mattias Karlsson, Niklas Goude
  • Release date: October 2010
  • Publisher(s): McGraw-Hill
  • ISBN: 9780071747981