views:

16

answers:

1

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!

+1  A: 

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
moontear
Thanks! Unfortunately, I can remember the exact name/path of the feature. Isn't there a way to see that visually?
Ahmad Farid
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
moontear
@moontear - since this is SP 2007, is the Sharepoint Management Shell an option or will Ahmad need to use stsadm?
Rich Bennema
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
moontear
If you want to enumerate features via STSADM there is a small code snippet here: http://stsadm.blogspot.com/2007/08/enumerate-features.html
moontear

related questions