Delete Corrupted list from SharePoint site using Management Shell Script

We can Delete corrupted list from SharePoint site using Management Shell by writing below script.

  1. $web = get-spweb -Identity http://sps2010
  2. $list = $web.lists["corrupted list name"]
  3. $list.AllowDeletion = $true
  4. $list.Update()
  5. $list.Delete()