How to enable/disable sharepoint 2010 farm scoped features using powershell?
-
10-10-2020 - |
Question
I've got all I need to know about the feature. I just want to enable it. When enabling site, web or webapplication scoped feature I use to call this cmdlet:
Enable-SPFeature -Identity <feature_name_or_Gui> -Url <scope> -confirm:$false
What is the cmdlet to do the same with a farm scoped feature. Thank you.
Solution
Just skip the -Url
parameter
Enable-SPFeature -Identity <feature_name_or_Guid> -confirm:$false
More found on TechNet
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange