Delete Folder SPO PowerShell

Copper Contributor

Hello.

I appreciate your collaboration. Something strange has happened to us, because by mistake we migrated a folder to sharepoint with additional content than what we needed. Noticing this, we went to the site in order to delete the extra folders but it tells me that I need to delete all its content in order to complete the task. The problem is that there are many subfolders and this would take me ages. I am an SPO admin and I would appreciate any help in solutions to be able to delete the necessary content, forcefully through power shell in order to optimize times.

 

I share error when trying to delete the subfolders.

 

Santiago22m_0-1686667308925.png

 

Santiago22m_1-1686667308925.png

 

 

First of all, Thanks..

0 Replies