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:
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?
Best Answer
I'm not sure if this will help anyone going forward, however when I added the Snapin it still failed. I needed to also explicitly Import the module too like so:
I had downloaded the Snapin from here: https://www.microsoft.com/en-gb/download/details.aspx?id=35588