2

I want to activate site scoped and web scoped hidden features using Powershell Command. What will be the command?

1

1 Answer 1

5

To just activate the feature use the following command:

Enable-SPFeature –Identity <<FeatureID>> –url http://myspsite/

To find the FeatureID use the following for hidden features:

Get-SPFeature -Limit ALL | Where-Object {$_.Hidden -eq $true -and $_.Scope -eq “WEB”} | Sort-Object DisplayName | Select DisplayName, Id
2
  • if i want to hide again, then what will be the command?
    – SPBeginer
    Commented Feb 16, 2015 at 15:47
  • Feature will remain hidden, you just activated it. To deactivate it use Disable-SPFeature. Commented Feb 16, 2015 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.