PowerShell script: Delete all lists on your current site

A sluggish performance from your site can have negative
consequences. One of the culprits is accumulated lists that are no longer
required but haven’t been dealt with. Why not? Often because it takes a long
time, requiring logging on to the site and performing various steps to get the
job done. Other tasks are prioritized and ultimately there is a problem. Here,
we show you how to delete lists on your site whose names are text-based.

Here is the file
code: DeleteListsOnCurrentSite.ps1.txt

How does
it work?

Example: You
created lists with the same names. You’ve confirmed they are no longer required
on the site and they should be deleted for improved performance.

Step 1:  Please click here to download: DeleteListsOnCurrentSite.ps1 

Run DeleteListsOnCurrentSite.ps1 file
with PowerShell.

Step 2:
Input your chosen parameters as pictured below and click Enter.

Step 3: The
PowerShell script will show the results while deleting the lists

Step 4: Go to your site to see the final

SharePoint Online

The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.

Supports Classic and Modern sites for SharePoint Online/Microsoft 365


Top SharePoint Online Products

Experience greater power and savings by bundling our SharePoint apps and cloud parts.

Calendar Plus

Chart Plus

Knowledge Base

Project Management Central

Simple List Search


On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019 – Classic Pages Only


Top On-Premises Only Products

Experience greater power and savings by bundling our SharePoint apps and web parts.

Calendar Plus

Data Viewer

Password Change

Password Expiration

Password Reset


Our team of Microsoft 365 experts help you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.

Streamline Your Department

We Have What You Need

Bamboo Solutions



Bamboo Installer