Share via

PowerShell script to empty SharePoint Online Recycle Bins

Anonymous
2019-04-29T07:22:15+00:00

Please provide me PowerShell script to empty Primary and Secodary stage Recycle bins

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2019-04-29T09:24:37+00:00

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:

  1. 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-SPODeleted​Site."
  2. How to delete a Big File from Second Stage Recycle Bin the second make answer.

Thanks,

Clark

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful