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