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 ...

Get Automating Microsoft® SharePoint® 2010 Administration with Windows PowerShell® 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.