Friday, May 29, 2009

How to get a list of all features deployed in your environment

Ever wondered how powerful is the STSADM command in MOSS. Actually it is the core of all action items you need to perform. To your much interest, you will be really excited to know about what Gary LaPointe has to share with you. Take a look at this site where he has a bunch of extended commands for SharePoint.

I was actually looking for a quick and easy way to get a list of all the features deployed to the servers in the farm. I had a set of 6 servers, so I simply wanted to run a line-of-code on all of them to help me identify them. Thanks to my colleague Jeff, who pointed out this command to me and help in getting a quick resolution.

Gary's command are all pre-fixed by "gl-" and below is an example of the enumfeatures which did the job for me. Take a look:

C:\>stsadm -o gl-enumfeatures -url http://myserver:1237

1. TeamCollab: Team Collaboration Lists (Web - Active)

2. ReviewWorkflows: Routing Workflows (Site - Active)

3. PremiumWeb: Office SharePoint Server Enterprise Site features (Web - Active)

4. PremiumWebApplication: Office SharePoint Server Enterprise Web application features (WebApplication - Active)

5. MyTestFolder: Cases (Web - Inactive)

6. TransMgmtLib: Translation Management Library (Web - Active)

7. MultipleUploadWebpart: MultipleUploadWebpart (Site - Inactive)

8. GlobalWebParts: Global Web Parts (Farm - Active)

9. DisplayUserProfiles: DisplayUserProfiles (Site - Active)

10. SmartTools.jQuery: SmartTools.jQuery v1.2 (Site - Active)

11. OSearchEnhancedFeature: Office Server Enterprise Search (WebApplication - Active)

12. BaseWebApplication: Office SharePoint Server Standard Web application features (WebApplication - Active)

13. MySiteFeatureStapler: My Site Creation Feature Stapler (Farm - Active)

14. SpellChecking: Spell Checking (Farm - Active)

15. SmartTools.DockNavigation: SmartTools.DockNavigation v1.0 BETA2 (Web - Active)

16. SignaturesWorkflow: Collect Signatures Workflow (Site - Active)

17. Reporting: Reporting (Site - Active)

18. UserChangePassword: User Change Password Web Part (Site - Active)

19. PremiumSite: Office SharePoint Server Enterprise Site Collection features (Site - Active)

20. PublishingWeb: Office SharePoint Server Publishing (Web - Inactive)

21. BaseWeb: Office SharePoint Server Standard Site features (Web - Active)

22. MySiteCustomListInstance: Case Custom List (Web - Inactive)

23. MySiteDocumentLibrary: ListDefinition1 (Web - Inactive)

24. MyCoolDemoContentType1: MyCoolDemoContentType1 (Site - Inactive)

25. BaseSite: Office SharePoint Server Standard Site Collection features (Site - Active)

26. OSearchBasicFeature: Office Server Site Search (WebApplication - Active)

27. TranslationWorkflow: Translation Management Workflow (Site - Active)

28. ExpirationWorkflow: Disposition Approval Workflow (Site - Active)

29. MyCoolDemoField1: MyCoolDemoField1 (Site - Inactive)

30. DataConnectionLibraryStapling: Data Connection Library (Farm - Active)

31. ExcelServer: Excel Services Farm Feature (Farm - Active)

32. SearchWebParts: Office SharePoint Server Search Web Parts (Site - Inactive)

33. PublishingSite: Office SharePoint Server Publishing Infrastructure (Site - Inactive)

34. MySiteDocumentLibraryInstance: MyWorkspace Document Library (Web - Inactive)

35. IssueTrackingWorkflow: Three-state workflow (Site - Active)

You may install the extensions from the site and start exploring with all of them.