Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was working in SharePoint powerShell and ran the command [Get-SPSite -Limit All] and I get the list of sites as expected, however, One Site shows up twice (see example below);

//mysite
//mysite/personal/user1
//misite/personal/user2
//teamsite
//teamsite
//teamsite/dept/it
//teamsite/dept/finance
//teamsite/dept/spgov

Should I be seeing teamsite twice?

If Not, how do I correct this?

share|improve this question
add comment

1 Answer

Command that you provided returns list of all sites from ALL WebApplications. Please, make sure that there is no another site with url "/teamsite" on any another WebApplication.

share|improve this answer
    
I have the same problem, where Get-SPSite returns three instances of the same SPSite site collection, ID's and URL's exactly the same. –  Jasper May 29 '13 at 8:45
    
Could you provide full command's string? –  Andrew May 29 '13 at 12:30
    
Get-SPWebApplication contoso.com | Get-SPSite | ft Url,Id –  Jasper May 29 '13 at 17:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.