Find All Farm Features With Solution Names Using PowerShell SharePoint 2013

This PowerShell script traverse all the custom solutions deployed in Central Admin and the features that get deployed under that solutions. 

It exports following items.
1. Solution ID
2. Solution Name
3. Feature ID
4. Feature Name
5. Feature Scope


 You can change the paths accordingly.


 
Start-Transcript "C:\FeatureLogs.txt"
$farm=[Microsoft.SharePoint.Administration.SPFarm]::Local
foreach ($solution in $farm.Solutions) 
        {
               $solId = (Get-SPSolution $solution.DisplayName).Id
               foreach($featcher in (Get-SPFeature | where {$_.solutionId -eq $solId}))
               {
                $SolutionID = $solution.DisplayName
                $output = $solution.id.GUID  +  "`t"  + $solution.DisplayName +  "`t"  + $featcher.id.GUID +  "`t"  + $featcher.DisplayName +  "`t"  + $featcher.Scope  
                Write-Host $output
               }
        }
Stop-Transcript


Output:



Comments

Popular Posts

GREYCstoration Oil Paint plugin for Photoshop

Service Bus Gateway service stuck at Starting

PowerApps SubmitForm not clearing People Picker value

Apple iPhone sending SMS automatically 00447786205094

Download file failed signature verification and may have been tampered with - Workflow Manger 1.0 Refresh (CU2)