Products: SharePoint 2010/2013
Recently a case came in where the company needed to locate where a feature had been activated within a specific Web Application as it was causing troubles with a Web.Config file.
We were able to use this script to locate the sites with the features enabled.
Run the below (attached as well as a *.txt file for your convenience) PowerShell script (PowerShell ISE works well) from a SharePoint Server:
Replace 00000000-0000-0000-0000-000000000000 guid with the Guid of the FeatureDefinitionId to be located.
To obtain the FeatureDefinitionId's of all features in the SharePoint farm you can run this Cmdlet: Get-SPFeature
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.