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

  • 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 '14 at 17:38
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
    $site.Dispose() :) – Robert Lindgren Mar 6 '14 at 17:42
  • 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 '14 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, privacy policy and cookie policy

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