I am running the Get-SPDeletedSite
PowerShell command in the SharePoint Farm to get the deleted Site IDs which I will use to restore the deleted Site Collection in SharePoint OnPrem but I get nothing back when I run the Get-SPDeletedSite
command like so:
I am expecting a list of deleted Site Collections but it just comes back with nothing, no error no list.
Please let me know how best I can get the ID of the deleted site so that I can use that ID to restore the deleted site.
I will be using the Restore-SPDeletedSite
Powershell command but I just can't get the Site ID of the deleted site in the first place. Please advice.
Thank you.