Completely Remove a Feature from Site Collection

After you deploy a feature (from Visual Studio) to Sharepoint 2010, you can see the feature in Site Actions à Site Settings à Site Collection Features, from there you can activate or deactiate the feature.

But to completely remove the feature from your site collection, use the following command in Sharepoint Management Shell:

(http://msdn.microsoft.com/en-us/library/ms442691.aspx)

Note: Each feature is available is in its own subdirectory in the path:
%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\FEATURES\

You need to use the actual subdirectory name (not the name shown in the Site Collection Features screen) in order to uninstall it. You need to deactivate the feature before removing it.

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: