Wednesday, September 4, 2013

SharePoint Programatically get site quota template name

Here is the script to get the site collection quota template details using powershell.

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

$quotaTemplate = $contentService.QuotaTemplates | where {$_.QuotaID -match $spSite.Quota.QuotaID}

write-host $quotaTemplate.Name
Thank you !!! 

1 comment:

  1. Its very useful to me. Wonderful blog.. Thanks for sharing informative Post.

    Installment loans
    Payday loans
    Title loans