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

Advertisements

One thought on “Get features grouped by solution package

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: