sharepoint-2007sharepoint-feature

How to uninstall a feature in sharepoint 2007?


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!


Solution

  • 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