Timeline for How to get site collections URL, title, site owners and site admins through Powershell on SP2016
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 26, 2018 at 21:39 | comment | added | Chris Odegard | @MLC re: Site Administrators, are you sure that the group is populated? Check here: https://<Root Web URL>/_layouts/15/mngsiteadmin.aspx Also, where are you running PowerShell? | |
| Oct 26, 2018 at 21:37 | history | edited | Chris Odegard | CC BY-SA 4.0 | Added the content of my comment on the OP's comment to the answer body text |
| Oct 26, 2018 at 21:35 | comment | added | Chris Odegard | @MLC That may work, assuming there are not a lot of groups with Full Control on the Site: $web.Groups | ?{$_.Roles.Name -contains "Full Control"} | select Name,Roles | |
| Oct 26, 2018 at 17:22 | comment | added | MLC | For SiteAdministrators the sentence returned with no results | |
| Oct 26, 2018 at 17:07 | comment | added | MLC | Thank you Chris Odegard, it works if I know the Site Collection Owners group name, but if I don't know it then how can I get it? Should the approach then will be to get all people who have full control permissions to the site collection? How to do that with PS? | |
| Oct 26, 2018 at 14:20 | history | answered | Chris Odegard | CC BY-SA 4.0 |