Advertisement
how to deploy wsp in sharepoint 2013 using powershell
I kept the wsp file in my Desktop.
Now i opened the SharePoint Powershell run this script.
Add-SPSolution "C:\Users\DotNetSharePoint\Desktop\WSPName.wsp"
Adding wsp to solution Management
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://Test:1234/ –GACDeployment
Active the Feature
Enable-SPFeature –Identity FeatureName –url http://Test:1234/sites/Home
Deactive the Feature
Disable-SPFeature –Identity FeatureName –url http://Test:1234/sites/Home
Uninstall the Feaure
Uninstall-SPFeature FeatureName
I kept the wsp file in my Desktop.
Now i opened the SharePoint Powershell run this script.
Add-SPSolution "C:\Users\DotNetSharePoint\Desktop\WSPName.wsp"
Adding wsp to solution Management
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://Test:1234/ –GACDeployment
Active the Feature
Enable-SPFeature –Identity FeatureName –url http://Test:1234/sites/Home
Deactive the Feature
Disable-SPFeature –Identity FeatureName –url http://Test:1234/sites/Home
Uninstall the Feaure
Uninstall-SPFeature FeatureName
0 comments:
Post a Comment