Disabling the threshold for SharePoint List and Document Library

$web = Get-SPWeb -Identity http://site
$web.AllowUnsafeUpdates = $true
$list = $web.Lists["ListName"]
$list.EnableThrottling = $false
$list.Update()
$web.AllowUnsafeUpdates = $false
$list.EnableThrottling
$web.Update()

$web.Dispose()

Comments

Popular posts from this blog

How to remove app from SharePoint 2013/2016

The model backing the context has changed since the database was created. Consider using Code First Migrations to update the database