I was looking at the analytics of the site the other day and I noticed that my post, Adding and Deploying Solutions with PowerShell , currently has the most traffic on the site. I had always intended to write a follow up post on this, so here it is. Today I’m going to talk about how to enable and disable features using PowerShell. It’s great that you know how to deploy solutions now with PowerShell, but now you want to activate your features. In SharePoint 2007 to activate a feature from the command line you might have used a statement like the one below. I’ll use the Reporting feature on my server named sp2010 as an example. The value specified in the name parameter refers to the actual folder name of the feature that is in your SharePoint Root folder (14 hive). stsadm.exe –o activatefeature –name Reporting – url http://sp2010 To get started with PowerShell, run the SharePoint 2010 Management Console located in your Microsoft SharePoint 2010 Products folder on your s
Comments
Post a Comment