How to enable/disable sharepoint 2010 farm scoped features using powershell?
-
10-10-2020 - |
Domanda
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.
Soluzione
Just skip the -Url
parameter
Enable-SPFeature -Identity <feature_name_or_Guid> -confirm:$false
More found on TechNet
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange