I need to remove a feature completely from SharePoint with all its assemblies, folders and everything. I found that I can do this by SharePoint management shell, but I don't know how to find, open or download it!
Asked
Active
Viewed 6,695 times
1 Answers
2
The Sharepoint Management Shell comes with Sharepoint and is simply a PowerShell Add-In which you could load manually. If you don't have the Sharepoint Management Shell you can also use stsadm.exe
.
For uninstalling via Powershell:
For uninstalling via stsadm:
You can find the Sharepoint Management Shell in the start menu, the stsadm you can find in the Sharepoint installation folder.
For a list of all installed features run the following command in PowerShell:
Get-SPFeature | Sort -Property Scope,DisplayName | FT -GroupBy Scope DisplayName,Id

Dennis G
- 21,405
- 19
- 96
- 133
-
Thanks! Unfortunately, I can remember the exact name/path of the feature. Isn't there a way to see that visually? – Ahmad Farid Oct 28 '10 at 09:09
-
There sure is: `Get-SPFeature | Sort -Property Scope,DisplayName | FT -GroupBy Scope DisplayName,Id` - also check out http://www.glynblogs.com/2010/08/powershell-commands-to-list-sharepoint-features.html – Dennis G Oct 28 '10 at 09:30
-
since this is SP 2007, is the Sharepoint Management Shell an option or will Ahmad need to use stsadm? – Rich Bennema Oct 28 '10 at 13:50
-
Well the Sharepoint Management Shell is not installed by default with MOSS2007 as far as I remember, but it is certainly usable and actually advised by MS to be used – Dennis G Oct 28 '10 at 14:03
-
If you want to enumerate features via STSADM there is a small code snippet here: http://stsadm.blogspot.com/2007/08/enumerate-features.html – Dennis G Oct 28 '10 at 14:05