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

Is there a way, preferrably with Powershell, to determine who created a site collection? I'm not interested in who the site collection admins are, but who the actual creator of the site collection was. This is for SP2010

share|improve this question
    
i have created a copy of viewlsts.aspx . I made changes to my new "viewlstsEdited.aspx" . So when i browse the "_layouts/ViewlstsEdited.aspx" i can see who created the application. –  Nikhil Mar 6 at 17:38

2 Answers 2

up vote 5 down vote accepted
$site = Get-SPSite http://intranet.sharepoint.com/
$site.RootWeb.Author

where SPWeb.Author property gets a user object that represents the user who created the website

share|improve this answer
2  
$site.Dispose() :) –  Robert Lindgren Mar 6 at 17:42
    
Thanks for the tip, Robert ;) –  Vadim Gremyachev Mar 6 at 17:44
1  
It is so easy to forget in PS, in C# it is almost built in your DNA to dispose :p –  Robert Lindgren Mar 6 at 17:46

Yes use Author property of the web object associated with site collection

 $siteCollectionUrl = "http://sitename:portnumber"
 $site =new-object Microsoft.SharePoint.SPSite($siteCollectionUrl)
 $web = $site.RootWeb
 $creator =$web.Author
share|improve this answer

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.