Hi
I was test migration from Sp2010 to SP2013, when I finished I removed the Content Database using Remove-SPContenetDatabase command. while I'm trying to back and restore a fresh copy of the Site collection I get the Site collection exits. try to force restore it throes an error object reference not set to an instance of an object. When I try to remove the collection. it gives me an error
remove-spsite : object reference not set to an instance of an object.
I listed the urls using Get-SPSite, I get the list of the site collections with out reference of content Databse , it seems like orphaned Site Collection URLS . How to remove these orphaned Site Collection URLS entries