Skip to main content
2 of 2
added 62 characters in body
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, 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
Christoffer
  • 9.9k
  • 3
  • 37
  • 53