O'Reilly logo

Automating Microsoft® SharePoint® 2010 Administration with Windows PowerShell® 2.0 by Shannon Bray, Gary Lapointe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Manage Site Collections

Now that you have a basic understanding of a Site Collection, we will examine how to manage one via Windows PowerShell. SharePoint offers us a number of cmdlets to manage Site Collections: New-SPSite, Get-SPSite, Set-SPSite, Remove-SPSite, Move-SPSite, Backup-SPSite, Restore-SPSite, Get-SPSiteAdministration, and Set-SPSiteAdministration. In the following sections, we will examine each of these cmdlets. (We cover backing up and restoring Site Collections in Chapter 17 and, as such, will not review the backup and restore cmdlets here.)

Create a Site Collection

As previously detailed, a Site Collection is a container around a Site hierarchy. When you create a new Site Collection, SharePoint 2010 also creates a root Site that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required