Skip to main content
added 62 characters in body
Source Link
Christoffer
  • 9.9k
  • 3
  • 37
  • 53

Something like this? What information do you need in detail? This gives you all the sites in the MySite webapplication (replace the URL to your MySite webapplication) with their URL, Ownernamename of the owner and their Email.

Add-PSSnapin microsoft.sharepoint.powershell

$arr = @()
$wa = Get-SPWebApplication -Identity "https://mysite.com"

foreach($s in $wa.Sites) {
$arr += [pscustomobject]@{
    Url = $s.Url
    Owner = $s.Owner.DisplayName
    Email = $s.Owner.Email
    }
}

$arr | Out-GridView

Something like this? What information do you need in detail? This gives you all the sites in the MySite webapplication with their URL, Ownername and Email.

Add-PSSnapin microsoft.sharepoint.powershell

$arr = @()
$wa = Get-SPWebApplication -Identity "https://mysite.com"

foreach($s in $wa.Sites) {
$arr += [pscustomobject]@{
    Url = $s.Url
    Owner = $s.Owner.DisplayName
    Email = $s.Owner.Email
    }
}

$arr | Out-GridView

Something like this? What information do you need in detail? This gives you all the sites in the MySite webapplication (replace the URL to your MySite webapplication) with their URL, name of the owner and their Email.

Add-PSSnapin microsoft.sharepoint.powershell

$arr = @()
$wa = Get-SPWebApplication -Identity "https://mysite.com"

foreach($s in $wa.Sites) {
$arr += [pscustomobject]@{
    Url = $s.Url
    Owner = $s.Owner.DisplayName
    Email = $s.Owner.Email
    }
}

$arr | Out-GridView
Source Link
Christoffer
  • 9.9k
  • 3
  • 37
  • 53

Something like this? What information do you need in detail? This gives you all the sites in the MySite webapplication with their URL, Ownername and Email.

Add-PSSnapin microsoft.sharepoint.powershell

$arr = @()
$wa = Get-SPWebApplication -Identity "https://mysite.com"

foreach($s in $wa.Sites) {
$arr += [pscustomobject]@{
    Url = $s.Url
    Owner = $s.Owner.DisplayName
    Email = $s.Owner.Email
    }
}

$arr | Out-GridView