Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm looking for a PowerShell script that would display or create a report of the security configuration of a site collection. Any help would be appreciated.

It would list:

  • Site Collection Owners
  • Each group and it’s owner
  • Each group’s permission level
  • Each permission level and which of the check boxes are checked.
share|improve this question

1 Answer

PowerShell is ideal for this. You can use something like this get the information you want.

$siteUrl = "http://.." 
$site = Get-SPSite $siteUrl
$site.RootWeb.SiteAdministrators
$site.RootWeb.SiteGroups | Select Name, Owner, Roles
$site.RootWeb.RoleDefinitions | Select Name, BasePermissions
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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