Hi there,
This PowerShell prints all users along with what groups they belong to. I need this to print the URL of the sites as well. Any suggestions?
Thanks.
$urlWeb = "http://dev" Get-SPUser -Web $urlWeb -Limit All | select UserLogin, @{name="Explicit given roles";expression={$_.Roles}}, @{name="Roles given via groups";expression={$_.Groups | %{$_.Roles}}},Groups | format-Table -auto
- Edited by frob 12 hours 17 minutes ago