SharePoint Online: Delete All Files and Sub-Folders from a Folder Recursively using PowerShell

Requirement: Empty a Folder in SharePoint Online document library by deleting all its files and Sub-Folders recursively. PowerShell to Delete All Files and Sub-Folders from a SharePoint Online Folder Let’s delete a folder with subfolder and files from SharePoint Online. This PowerShell script deletes all files, sub-folders of a folder and then…

Read more

SharePoint Online: Delete All Files in a Document Library using PowerShell

Requirement: Delete all documents in library in SharePoint Online How to Delete All Documents in Library in SharePoint Online? At times, you may want to delete multiple documents all at once. You can delete multiple files, folders, and sub-folders from a SharePoint Online document library in a few clicks: Navigate to your…

Read more