question

sns1 avatar image
0 Votes"
sns1 asked ElsieLu-MSFT commented

SharePoint orphan sites cleanup, how to figure out and how do we clear it?

SharePoint orphan sites cleanup, how to figure out orphan sites and how do we clear it from sharepoint farm?
Please help

office-sharepoint-server-administration
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How are things going? Is there any update?

0 Votes 0 ·

1 Answer

ElsieLu-MSFT avatar image
0 Votes"
ElsieLu-MSFT answered

Hi @sns1 ,

You could first use the Test-SPContentDatabase command to check if there exsit orphan sites.

 Test-SPContentDatabase -name WSS_Content_DB -webapplication https://sitename

Similar posts for your reference:
Find Orphan Sites Under Specific Content Database - Sharepoint 2013 Powershell
Delete orphan site collection


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.