Activate a Site Feature in SharePoint 2013 using Powershell

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:
 
  1. Enable-SPFeature -identity "Name of the feature" -URL "Url of the site".  
Your feature will get activated and it will not even take a minute. 

So, here we saw how to activate a Site Feature in SharePoint 2013 using PowerShell. 

Keep learning!
Ebook Download
View all
Learn
View all