Sharepoint : get all sites where feature is active at site or web level


Sharepoint : get all sites where feature is active at site or web level
Please do not forget to comment if this helps.

Get all Site Colletions where GUID matched to site colleation feature
Get-SPSite -limit ALL | foreach{ $_.features["GUID"] } | select Parent


Get all Webs where GUID matched to web feature
Get-SPSite -limit ALL | Get-SPWeb -limit ALL | foreach{ $_.features["GUID"] } | select Parent

Comments

Popular posts from this blog

Dataverse D365 REST Web Api using client secret From Postman or Power Automate desktop (PAD) .

Chrome Extension to auto refresh Power BI report.

How to call SharePoint online rest APIs using postman?