Answered Find Site owners with Powershell

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

    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)

    Thanks


    LSTalbot

Todas as Respostas

  • quarta-feira, 20 de junho de 2012 16:39
     
     

    Hi,

    try this post

    http://poshcode.com/3044


    Regards,
    Fadi Abdulwahab, SharePoint Consultant
    http://blogs.msdn.com/b/fabdulwahab
    http://sqlgoogler.blogspot.com/

  • quarta-feira, 20 de junho de 2012 16:42
    Moderador
     
     Respondido Contém Código
    $webApp = Get-SPWebApplication("http://fabrikam")
    foreach ($site in $webApp.Sites)
    {
    write $site | format-table -property Url,Owner,Quota
    }


    http://sharepoint.nauplius.net

  • sexta-feira, 22 de junho de 2012 09:57
    Moderador
     
     
    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 microsoft.com(Please replace AT with @)