Sharepoint 2010 Articles

Submit Article
Home » Articles » Sharepoint 2010 » Content ManagementRSS Feeds

Quota Template in SharePoint 2010

Posted By: Destin Joy     Category: Sharepoint 2010     Views: 4062

In this article I am showing you how to set limit for SharePoint 2010 site collection using Quota Template. Here I am using Power Shell to define Quota Template.
A quota Templates defines the storage limit for the maximum amount of data that can be stored in a site collection. When the site collection reaches the Quota template defined by Administrato, it triggers an e-mail alert to the site collection administrator. Quotas can be saved as quota templates so that we can apply them to any site collection in a SharePoint farm.

Create Quota Template

  1. On the Start menu, click All Programs.
  2. Click Microsoft SharePoint 2010 Products.
  3. Click SharePoint 2010 Management Shell.
  4. At the Windows Power Shell command prompt type the following command:
  5. The Syntax to create Quota Template is as shown


       $Customquota = New-Object Microsoft.SharePoint.Administration.SPQuotaTemplate

        $Customquota.Name = "ProjectQuota"

        $Customquota.StorageMaximumLevel = 1048576

        $Customquota.StorageWarningLevel = 524288

        $Service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService




    • Name - You have to give the Quota Template name as string value
    • StorageMaximumLevel –Is the maximum size for your site collection(In Bytes)
    • StorageWarningLevel-Will give email message if the Quota template reaches the value specified in this column(In Bytes)

    To change the quota template for a site collection by using Windows Power Shell

    The Syntax Change the Quota Template for a site collection

    Set-SPSite -Identity "Site URL" -QuotaTemplate "Template Name"

      • Site URL- is the URL of the site collection whose quota template you want to change.
      • Template Name -is the name or GUID of the replacement template.

Didn't find what you were looking for? Find more on Quota Template in SharePoint 2010 Or get search suggestion and latest updates.

Destin Joy
Destin Joy author of Quota Template in SharePoint 2010 is from Pathanamthitta, India. Destin Joy says

 Hello Everyone,

I am Destin Joy from India I have MCPD in SharePoint 2010, MCTS SharePoint 2010 application development and MCTS in SharePoint 2007. I am mostly working in  core part of SharePoint (2010-2007) and passionate about new Microsoft technologies. Born and brought up in Kerala You can reach me  @ Destin.Joy@hotmail.com


View All Articles

Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

No Comment Found, Be the First to post comment!