In this post, we will discuss how we can delete the 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.
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.
You May Also like the Following SharePoint Online Tutorials: