Date and Month display

By Pass SharePoint List Throttling using powershell for specific list.

#----------------------------------------------------------------------------------------------------------------------#
# Author: Shiv Mangal Singh
# Date: Nov 23, 2015
# Description:
#  1. This script is used to ByPass SharePoint List Throttling for specific list.
# Syntax:
# e.g: .\ByPass_ListThrottling.ps1
#-----------------------------------------------------------------------------------------------------------------------#
# Add SharePoint cmdlets reference
Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue

# Get Site Url
$sitename = get-spweb "https://MS.contact.contoso.net/cmm/gvbps"
# Get list name
$list =$sitename.Lists["Onboarding"];
# Bypass List Throttling
$list.EnableThrottling =$false
$list.Update()

No comments:

Post a Comment