A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi PJ_R,
Thanks for posting in our forum.
Since the question is associated with script, we would like to suggest you post a new thread in TechNet Forum, which is a specific support channel for these questions. The engineers and members there will provide you with support.
Also, I have found some useful thread in TechNet forum, you can refer:
- According to the thread in Microsoft TechNet mentioned "there is no way to remove all of them. You'll need a script that does a Get-SPODeletedSite and stores that to a variable and then a ForEach loop that calls Remove-SPODeletedSite for each entry in the array stored in the variable. Read more about it here: Remove-SPODeletedSite."
- How to delete a Big File from Second Stage Recycle Bin the second make answer.
Thanks,
Clark