In this post we will discuss how we can delete list using in PowerShell in SharePoint 2013. If the list is working fine then we can delete the list from the browser easily, but in some cases if the list is corrupted then this PowerShell approach will help.
– SharePoint 2013 Task list not aggregating to My Sites Tasks list
– Dictionary actions example in SharePoint Designer 2013
– Default breadcrumb for document library SharePoint 2013
Recently we got one issue where whenever we are trying to go to the settings page of the list we got Sorry, something went wrong issue. So we use PowerShell to delete the corrupted list.
Below is the PowerShell command to delete a particular list.
$web = Get-SPWeb(“https://SiteURL/”)
$list = $web.lists[“List Name”]
$list.AllowDeletion = $true
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.