Thursday 10 January 2013

Activate or Deactivate SharePoint Features Using Powershell


To deactivate the feature of the particular site use the following command using powershell:

Disable-SPFeature –Identity FeatureName –url http://sitename -Confirm:$False

To Activate the feature of the particular site use the following command using powershell:

Enable-SPFeature -Identity FeatureName -URL http://sitename -Confirm:$False

No comments:

Post a Comment