Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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... –  ElvisLikeBear Sep 3 '13 at 22:22
    
We have all been there. –  darin strait Sep 5 '13 at 15:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.