Deploy wsp in SharePoint 2013 using powershell

Now i opened the SharePoint Powershell run this script.

Adding wsp to solution Management
Add-SPSolution "C:\Users\DotNetSharePoint\Desktop\WSPName.wsp"

once we run this command on powershell we can see the wsp file in Central Admin->System Settings->Manage Form Solutions.
we can see the deployed WSP.

Deploy the Wsp to Particular web application
Install-SPSolution –Identity WSPName –WebApplication http://Testssample/ –GACDeployment

Active the Feature 

Enable-SPFeature –Identity FeatureName –url http://testsample/sites/Home

Deactive the Feature

Disable-SPFeature –Identity FeatureName –url http://testsample/sites/Home

Uninstall the Feaure
Uninstall-SPFeature FeatureName 

Post a Comment

Previous Post Next Post

Recent Posts