Monday, April 04, 2011

[MOSS2007/WSSv3] PowerShell Library - List where a feature is activated

[DESCRIPTION]
Microsoft recommends to deactivate a feature everywhere before you remove the feature from the environment. Unfortunately there is no way of determining where the feature is activated.

To solve this issue, I have created a PowerShell script.

How to use it:
  1. Download the PowerShell script
  2. Open the script in Notepad and edit the <featureid> text to match the id of the feature you are interested in
  3. Run the script
  4. Open the output in Microsoft Excel and use "*" as separator
  5. Based on the Scope column you can determine if the specific feature is a site or web feature