Today, we’ll look at deleting a SharePoint List in Office 365 using PowerShell PnP. First we need to connect the SharePoint Online site using the below command,hostforlifebanner
Step 1
Open SharePoint Management Shell as an Administrator in your machine.
Step 2
Run the following command to import PnP to install the PowerShell cmdlets,
Step 3
To use the library you first need to connect to your tenant using the below cmdlets.

Syntax –

Syntax – Remove List item

Now that we’re logged into the site collection, let’s create our List/document library.
Remove List/ document library
Thanks for reading my blog.