Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

70-488 Module1 – Mange the Site Life Cycle

Posted by Jean Paul on October 9, 2014

This is part of preparation-series for 70-488.


Following are the topics:

1. Create a delayed site collection

2. Manage site collection disposition

3. Identify inactive site collections

4. Backup and archive site collection data

Create a Delayed Site Collection

Delayed Site Collection is a Site Collection created but the Template will be chosen later. For creating a delayed site collection, open Central Administration > Create site collections > Custom tab as shown below.


Wait for the site collection to be created & Open it in a new window. You can see the site asks for template.



This is good for Administrators where a Site Collection request comes in without specifying the template.

Managing Site Collection Disposition

Site Collection Disposition deals with Closing & Deletion of site. Closing is the process of preventing site collection from access. Deletion removes the site collection.

We can create a Policy to achieve the same. Open Site Settings > Site Policies page.


You will get the following page.


Click the Create button to create a new policy.


In the appearing page enter the following:

1. Name for the policy

2. Close and Delete functionality

Save changes & your new policy is created.


In the above example, I have selected 1 year from creation date to close the site. Plus, 1 month for deletion from closing date. SharePoint internal timer jobs will be carrying out these tasks and appropriate email notifications will be sent.


It is a good habit to associate Disposition policy on site collection creation. This will ensure unused or irrelevant data being occupying content database & search results.

Identify Inactive Site Collections

To identify inactive site collections, we can use PowerShell script. We can use the SPSite.LastContentModifiedDate property to find obsolete site collections.


Following is the PowerShell script:

Add-PSSnapIn -Name Microsoft.SharePoint.PowerShell

$farm = [Microsoft.SharePoint.Administration.SPFarm]::Local

$websvcs = $farm.Services | where -FilterScript {$_.GetType() -eq [Microsoft.SharePoint.Administration.SPWebService]}

foreach ($websvc in $websvcs)


foreach ($webapp in $websvc.WebApplications)


foreach ($site in $webapp.Sites)


echo $site.HostName $site.Url $site.LastContentModifiedDate $site.ContentDatabase.Name $site.WebApplication.Name




The PowerShell script is available at:

Backup and Archive Site Collection Data

Backing up a Site Collection is possible in following ways:

1. Backup through Central Administration

2. Backup through PowerShell

Following is the Backup through Central Administration.


Choose the Perform a site collection backup link item.


The backup process will be initiated in the background.

Archival is the process of storing data for historical purpose & preventing changing of content. Although SharePoint 2013 does not allow any direct-archival mechanisms, we can employ the following methods to achieve it.

1. Use Close policy

2. Move site collection to another location


Archival also ensures the content is not visible in any Search.



In this article we have explored managing site life cycle.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s