Powershell commands to:
-Install Feature:
Install-SPFeature FeatureFolderName
Here FeatureFolderName folder must be presented inside C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES directory.
-Activate/Enable Feature:
Enable-SPFeature FeatureFolderName -Url http://ur-site-url
-Disable Feature:
Disable-SPFeature FeatureFolderName -Url http://ur-site-url
Here FeatureFolderName folder must be presented inside C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES directory.
-Uninstall Feature:
Uninstall-SPFeature FeatureFolderName
Here FeatureFolderName folder must be presented inside C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES directory.
No comments:
Post a Comment