Advertisement
If we want to know the list of features activated in your Site
Collection
Run the following command in SharePoint 2013 Management
shell
Get-SPFeature -Site http://DotNetSharePoint:1234/sites/SharePoint
It will gives list of features with DisplayName,ID
For activating or deactivating the feature use we can do based on Feature
Name or Feature ID
Activating the
Feature:
Enable-SPFeature –Identity FeatureIDhere –url http://DotNetSharePoint:1234/sites/SharePoint
Or
Enable-SPFeature –Identity FeatureNamehere –url http://DotNetSharePoint:1234/sites/SharePoint
Deactivating the
Feature:
Disable-SPFeature –Identity FeatureIDhere –url http://DotNetSharePoint:1234/sites/SharePoint
Or
Disable-SPFeature –Identity FeatureNamehere –url http://DotNetSharePoint:1234/sites/SharePoint
0 comments:
Post a Comment