Dear All
If you want to delete any corrupted SharePoint list through PS script here it is
$web = get-spweb -Identity http://sp2010
$list = $web.lists["corrupted list name"]
$list.AllowDeletion = $true
$list.Update()
$list.Delete()
$web = get-spweb -Identity http://sp2010
$list = $web.lists["corrupted list name"]
$list.AllowDeletion = $true
$list.Update()
$list.Delete()
Original post reference https://sharepointgroup.wordpress.com/2012/07/05/how-to-delete-corrupted-sharepoint-list-with-powershell/
I hope it save the time
Regards
Comments
Post a Comment