We have created a new shiny assembly which is used in multiple applications. We regularly update this assembly, and add small new features in it. We want to minimize impact of these regular updates in installed projects, best option for us is to deploy it in GAC. Our regular installs were great, and never had any problems.
Recently I wanted to delete all entries in a large list, but manually it was hectic and time consuming. One way could have been to delete and re-create that list, but that list was tightly bound to an InfoPath form, and I did not had any backup source available.
I had been experimenting in PowerShell these days, so looked around for any script which I could modify for my purpose.
Here is that script, took it from different sources mentioned here.
- Powershell: Efficiently empty large SharePoint lists
- SharePoint: Using PowerShell to Perform a Bulk Delete Operation
- How to delete all items in aList using PowerShell