11 Sep 2011

Windows PowerShell script SharePoint 2010

Installing and activating a feature:

 

Install-SPFeature FeatureFolderName
Enable-SPFeature FeatureFolderName -Url http://server/site/subsite

 

Disable-SPFeature FeatureFolderName -Url http://server/site/subsite
Uninstall-SPFeature FeatureFolderName

 

PowerShell Commands: Microsoft TechNet at http://technet.microsoft.com/en-us/library/ee906565.aspx

No comments:

Post a Comment