I've been moving subsites into their own site collections and am now in the process of removing the old subsites. I know I can go through the UI in "Site Actions" -> "Sites and workspaces" to remove the subsites effectively. The current path for both sites are root/sitecollection and root/subsite, both with the same name.
Would SPWeb target the subsite and SPSite target the collection given they both have the same path? Is there a way to see this difference in powershell?