Install WSP in SharePoint using Powershell

WSP Installation Guide

To add a wsp package

Add -SPSolution "<WSP full path>" 

e.g.: Add -SPSolution "C:\kannan.wsp"

To install wsp package

Install-SPSolution –Identity "<wsp name>" –WebApplication "<Site collection URL>" –GACDeployment 

e.g.: Install-SPSolution –Identity "kannan.wsp" –WebApplication http://servername:1000   –GACDeployment 

Activate the Feature

Enable-SPFeature FeatureFolderName –url “site collection URL”


e.g.: Enable-SPFeaturekannan” –url http://servername:1000

--Kannan K

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell