Scenario/Problem: You need to obtain a deleted site collection reference and therefore need a listing of deleted site collections regardless of content database.
Solution: Use the Get-SPDeletedSite
cmdlet without any parameters.
To obtain a deleted site collection reference object, you need to find the URL (Identity
) or Site Id of the site collection. Using the Get-SPDeletedSite
cmdlet displays all deleted site collections, as shown in Figure 8.2.
3.14.253.152