Get features grouped by solution package

I needed an overview of all features related to their solution package. This can be achieved by using PowerShell. Because this could be useful for others as well, here is the script.

Add-PSSnapin Microsoft.SharePoint.PowerShell -ea 0 foreach ($grp in Get-SPFeature | Group-Object SolutionId) { $sol = Get-SPSolution -Identity $grp.Name Write-Host $sol.Name '(ID:' $grp.Name '), Count:' $grp.Count -ForegroundColor Blue foreach ($fd in $grp.Group | sort DisplayName ) { Write-Host $fd.DisplayName '(' $fd.Scope ')' } Write-Host }

The output looks like this

Output PowerShell ISE

One thought on “Get features grouped by solution package

Add yours

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at WordPress.com

Up ↑