Change SharePoint list Settings using PowerShell

InfoPath alternatives for form designing SharePoint

In this post we will discuss how we can change sharepoint list settings using PowerShell. Also check out:

– Attach event receiver to list in SharePoint 2010

– Disable default email for approval workflow in SharePoint 2010 designer

– App Life Cycle Management in SharePoint 2013

Through PowerShell you can change list title, description, whether version will be enabled or not etc.

Using following the code we able to changes the SharePoint list settings:

#Get the site and list objects

$web = Get-SPWeb http://entersiteurl
$list = $web.Lists[“Shared Documents”] // Enter the name of list.

#Now enter the changes what you want

$list.Title = “Enter Title Name”
$list.Description = “Enter Description”
$list.OnQuickLaunch = $true
$list.EnableModeration = $true //Enable content Approval
$list.EnableVersioning = $true //Enable the versioning

#Update the list and dispose of the web object

$list.Update()
$web.Dispose()

Similar SharePoint 2013 Tutorials


About Navneet Singh

I am Navneet Singh, Working at C3it software solutions pvt. ltd. in Pune. My core skills are SharePoint 2013, Office 365, SharePoint 2010, SharePoint Designer, SharePoint Designer Workflow, Nintex Workflow, Infopath, Webpart, CSOM/SSOM, Power-shell, C#, ASP.NET and SQL Server.

View all posts by Navneet Singh →

Leave a Reply