Tuesday, February 21, 2017

Using PowerShell script how to increase the SharePoint site size.



Power shell command to increase the site size.

    Add-PsSnapin Microsoft.SharePoint.PowerShell

## SharePoint DLL
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$docSize = 524288000
$webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$webservice.MaxTemplateDocumentSize = $docSize
$webservice.Update()

No comments:

Post a Comment