Find Site owners with Powershell


  • I need to find out who the site owners are for about 50 sharePoint sites. We need to contact site owners.

    Is there a powershell script that will tell me who site owners are for all of my sites.

    I have tried  get-spweb http://site/subsite | format-table -property URL, owner, quota

    This only gives me the url though, The site field has no data, nor does the quota (don't need quota, this was just added as a test)



    quarta-feira, 20 de junho de 2012 16:11


Todas as Respostas

  • Hi,

    try this post

    Fadi Abdulwahab, SharePoint Consultant

    quarta-feira, 20 de junho de 2012 16:39
  • $webApp = Get-SPWebApplication("http://fabrikam")
    foreach ($site in $webApp.Sites)
    write $site | format-table -property Url,Owner,Quota

    quarta-feira, 20 de junho de 2012 16:42
  • Only site collection has owners. http://site/subsite is a web, its owner is the owner of its parent site collection.

    Jinchun Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT replace AT with @)

    sexta-feira, 22 de junho de 2012 09:57
  • Make sure you're logged in or running the SharePoint management shell as THE farm account to ensure this command works properly, otherwise you may only see site URLs in the list and no owner or quota details.
    terça-feira, 25 de agosto de 2015 13:54