Powershell Command to Delete List Items with more than 5000 items in SharePoint 2010

As we know deleting sharepoint list which has more than 5000 list items ┬áis kind of hectic. Better way to delete that list , the simplest and efficient one would be using the powershell command to delete the list … An example of that would be

$web = Get-SPWeb http://34.231.97.77/sites/team
$custom = $web.lists["ListName"]
$custom.Delete()

Leave a Reply

Your email address will not be published. Required fields are marked *

Bitnami