I’ve mentioned in a previous post how to create a solution setup for SharePoint. But, sometimes we need to user the SharePoint powershell (SharePoint Management Shell) to install and deploy solutions.
Add solution
Add-SPSolution c:\solution_folder\solution_name.wsp
Install solution
Install-SPSolution –Identity solution_name.wsp –WebApplication http://sharepoint_server -GACDeployment
Update solution
Update-SPSolution –Identity solution_name.wsp –LiteralPath c:\solution_folder\solution_name.wsp –GACDeployment
Uninstall solution
Uninstall-SPSolution –Identity solution_name.wsp –WebApplication http://sharepoint_server
Remove solution
Remove-SPSolution –Identity solution_name.wsp








Leave a comment