Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use Powershell to enable the devlopment feature on a SharePoint site (as per this article: http://blogs.msdn.com/b/how24/archive/2013/06/14/prepare-your-sharepoint-2013-farm-for-app-development-and-debugging.aspx) When I do this I'm presented with the following error:

The term 'Enable-SPFeature' is not recognized' as the name of a cmdlet, function, script file, or operable program.

A screenshot of my input/output is below:

enter image description here

I'm unsure why this is happening - I'm on the SharePoint server I want to enable this feature on and as far as I know everything required is installed. What am I doing wrong?

share|improve this question
up vote 3 down vote accepted

Have you tried adding the SharePoint snap-in to your current session?

Add-PSSnapin Microsoft.SharePoint.PowerShell
share|improve this answer
1  
Ahem. Whoops! That's embarrassing... – Codingo Sep 3 '13 at 22:22
    
We have all been there. – darin strait Sep 5 '13 at 15:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .