2

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

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
  • if i want to hide again, then what will be the command? – SPBeginer Feb 16 '15 at 15:47
  • Feature will remain hidden, you just activated it. To deactivate it use Disable-SPFeature. – Ransher Singh Feb 16 '15 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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