This SharePoint PowerShell tutorial, we will discuss how to delete SharePoint list using PowerShell. First, we will discuss PowerShell cmdlets to delete list using PowerShell in SharePoint 2013/2016.
We can easily delete a SharePoint list from the browser itself in SharePoint. Go to the List Settings page and then click on “Delete this list” which is under Permissions and Management. This deletes the SharePoint list from the site.
But if the list got corrupted then, we may not able to delete the list through a browser, We can use PowerShell to delete the SharePoint list.
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.
Delete SharePoint 2010 List
If you are using SharePoint 2010, then you can follow the below steps to delete a SharePoint 2010 list.
Follow below steps to delete a SharePoint list:
Open the SharePoint site and navigate to the list which you want to delete. [You can also click on the List in the quick launch bar].
Then in the list page, From the Ribbon from List Tools section select List and Chose List Settings from the right-hand side as shown in the figure below:
Then from the list settings page, Under Permissions and Management select Delete this list link as shown in the figure below:
Once you click on Delete this list link, then it will ask you a confirmation message like below and then click on OK in the confirmation box. Then the list will get deleted.
Delete SharePoint list using PowerShell
Below is the PowerShell command to delete a particular list in SharePoint 2013/2016.
$web = Get-SPWeb("https://SiteURL/") $list = $web.lists["List Name"] $list.AllowDeletion = $true $list.Update() $list.Delete()
Once you run the above PowerShell script, the SharePoint list will get deleted from the site.
You may like following SharePoint tutorials:
- Delete content type from SharePoint list using PowerShell
- Add lookup column to SharePoint list programmatically using CSOM
- Create and delete SharePoint list using JSOM
- Microsoft Flow Example Save tweets that include specific hashtag to a SharePoint list
- Difference between SharePoint list and Document library
- Generate URL using Calculated column in SharePoint List
- Export Excel Data to SharePoint list from Excel itself
- How to disable quick edit in SharePoint list
- Content Approval in SharePoint list or document library
- Get SharePoint list created date using PowerShell
This SharePoint tutorial, we learned how to delete a SharePoint list using PowerShell or through browser.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.