Forum Discussion
UnderDng007
Dec 19, 2023Copper Contributor
Report SP sites are Private or Public
We have a lot (thousands) of SharePoint sites, how to get a report of [Active Sites > Settings > Privacy]: where it shows if site is Private or Public? Can we export it with Powershell? By the wa...
- Dec 28, 2023Thank you for your answer. I am using the following command to combine the information I needed:
Get-PnPMicrosoft365Group -IncludeOwners -IncludeSiteUrl | Where-Object { $_.Visibility -eq "Public"}
UnderDng007
Dec 28, 2023Copper Contributor
Thank you for your answer. I am using the following command to combine the information I needed:
Get-PnPMicrosoft365Group -IncludeOwners -IncludeSiteUrl | Where-Object { $_.Visibility -eq "Public"}
Get-PnPMicrosoft365Group -IncludeOwners -IncludeSiteUrl | Where-Object { $_.Visibility -eq "Public"}
MKumar1252
Jun 03, 2024Copper Contributor
UnderDng007 I am able to use this command to get Public site detail but its not provide all SharePoint site URL & Owner name . Kindly help me to get all Public site details with URL & owner name.