Monday, June 20, 2016

PowerShell Commands to install - Activate -UnInstall -De Activate SharePoint 2010 Features



Install - SharePoint Feature :

Install-SPFeature FeatureFolderName

Activate - SharePoint Feature :

Enable-SPFeature FeatureFolderName -Url SiteURL(http://testsite/)

Uninstall - SharePoint Feature :

Uninstall-SPFeature FeatureFolderName

De-Activate SharePoint Feature : 
Disable-SPFeature FeatureFolderName -Url SiteURL(http://testsite/)

Source Link :
1. https://technet.microsoft.com/en-us/library/ff607825(v=office.14).aspx
2 .https://msdn.microsoft.com/en-us/library/office/ms442691(v=office.14).aspx

PowerShell commands to Install deploy & Update solutions for SharePoint 2010




    1. Add a WSP Solution package : 

 Add-SPSolution -LiteralPath  File-Path/filename.wsp

2. Install a WSP Solution package : 

Install-SPSolution -Identity filename.wsp –GACDeployment


3. Update a WSP Solution package :


Update-SPSolution –Identity  filename.wsp -LiteralPath File-Path/filename.wsp –GACDeployment