SharePoint By Yagya Shree

How to delete SharePoint Orphane Features?

leave a comment »

Please run below commands in the farm using service account from one of the WFE servers:

 

Get-SPFeature | ? { $_.Scope -eq $null }

 

Get-SPFeature | ? { !$_.Scope } | % { $_.Delete() }

 

Note: Above command is to delete any feature which is not scoped to any site/sitecollection/webapplication/farm.

Advertisements

Written by Yagyashree

August 24, 2014 at 12:25 pm

Posted in sharepoint

Tagged with , , ,

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: