We all come across sometimes in our development career to activate a Site Feature using PowerShell script. Here I have a single line of code which will show you how to do it in few minutes.
- Click Start on your system.
- Open Administration tools in your VM.
- Right click on Windows Powershell Modules and run it as an administrator.
- Paste the following script after changing the name of the feature and the site's url.
- Run the code.
Script:
- Enable-SPFeature -identity "Name of the feature" -URL "Url of the site".
So, here we saw how to activate a Site Feature in SharePoint 2013 using PowerShell.
Keep learning!

Guest UserPosted Aug 19, 2016, 9:44 AM
Thank u:)
Manpreet SinghPosted Aug 18, 2016, 6:09 PM
Hi Kvbharat Bhushan, Kindly run this script to disable, let me know if you face any concern. Disable-SPFeature -Identity [FeatureId] -Url [FeatureUrl] -force -Confirm:$false
Guest UserPosted Aug 18, 2016, 2:37 AM
How to uninstall the feature now? Can u get me the cmdlet? I request you to include the output also along with your description for more effective presentation sir.