Powershell Script to get Report Group-enabled SharePoint sites Get all sites with the Office 365 Group template
<# .NOTES ========================================================================================================================================= Author: Kamal Pandey DESCRIPTION : Report Group-enabled SharePoint sites Get all sites with the Office 365 Group template #> $siteUrl = Read-Host "Enter SharePoint Admin Center Url" try { Set-ExecutionPolicy RemoteSigned $Cred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection Import-Module (Import-PSSession $Session -Allowclobber) -Global Connect-MsolService -Credential $Cred Connect-SPOService -Url $siteUrl -credential $Cred } catch { write-host "Failed to connect to SharePoint online site at " $siteUrl -ForegroundColor R...