9

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

1
  • 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 J
    Mar 6, 2014 at 17:38

2 Answers 2

7
$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

2
  • 2
    $site.Dispose() :) Mar 6, 2014 at 17:42
  • 1
    It is so easy to forget in PS, in C# it is almost built in your DNA to dispose :p Mar 6, 2014 at 17:46
4

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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