MOSS 2007: Get Feature ID the easy and lazy way

Quick MOSS tip-o-the-day:

If you need to retrieve the ID (GUID) of a Feature, for running STSADM commands, etc, there’s a quick and easy way to do this for features that are currently activated:

1. Go to your Site Settings, where your features are listed and you see the Activate/Deactivate buttons.

image

2. Press the Deactivate button (don’t worry, this goes to a confirmation page, so you’re not causing anything to happen yet)

image

3. While you’re on the confirmation page, take a look at your browser address bar – voila, your feature ID:

http://server/_layouts/DeactivateFeature.aspx?FeatureId=f6924d36-2fa8-4f0b-b16d-06b7250180fa

image