Skip to content

Adding and deploying Solutions to SharePoint 2010 with Management Shell

July 7, 2011

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.wspGACDeployment

Uninstall solution

Uninstall-SPSolution –Identity solution_name.wsp –WebApplication http://sharepoint_server

Remove solution

Remove-SPSolution –Identity solution_name.wsp


From → SharePoint 2010

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: