Dan Sanders
  • Home
  • About
  • Contact
  • – PowerShell
  • – SharePoint
  • – Workflow
Copyright © 2016 Dan Sanders. All Rights Reserved.
Dan Sanders
  • Home
  • About
  • Contact
  • – PowerShell
  • – SharePoint
  • – Workflow

Deploying SharePoint 2010 Solutions with Powershell

byDan Sanders inPowershell, SharePoint posted25 June, 2013
0
0

Running SharePoint 2010 Management Console.

To install a solution we use the Add-SPSolution command.  If you are using a Sandboxed solution you would use Add-SPUserSolution instead.

Add-SPSolution c:pathSharePointProject2.wsp

Solution added, now to deploy:

Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment

To upgrade the solution:

Update-SPSolution –Identity SharePointProject2.wsp –LiteralPath c:pathSharePointProject2.wsp –GACDeployment

And to uninstall solution:

Uninstall-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010
Remove-SPSolution –Identity SharePointProject2.wsp
PowerShellSharePointSharePoint 2010
Share this :

Related Posts

0
PowerShell for every List in each Web of a SiteCollection
28 February, 2016
PowerShell for every List in each Web of a SiteCollection

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

No comment
0
17 September, 2013
Remove Drop Off Library and fix up the QuickLaunch in SharePoint 2010

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

No comment
0
Quick Edit button grayed out
3 February, 2016
Quick Edit button grayed out

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

49 Comments
0
Content Database and Site Collection Report
11 December, 2018
Content Database and Site Collection Report

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

No comment
0
Creating a view for each Document Library in a Site Collection
3 February, 2016
Creating a view for each Document Library in a Site Collection

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

No comment
0
Fix SharePoint 2013 UPS Stuck on Starting
4 July, 2018
Fix SharePoint 2013 UPS Stuck on Starting

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

54 Comments
7
Enabling multiple Document Set views
20 September, 2017
Enabling multiple Document Set views

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

53 Comments
0
4 February, 2016
Adding a ContentType to each Library with PowerShell

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

No comment
0
28 February, 2016
Publish SharePoint 2013 Workflow Globally

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

57 Comments
0
Adding a column to a Content Type (CT) at a library level with PowerShell.
10 February, 2016
Adding a column to a Content Type (CT) at a library level with PowerShell.

Running SharePoint 2010 Management Console. To install a solution we use the Add-SPSolution...

No comment

Leave a Comment! Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • SharePoint Add-in 401 Unauthorized
  • Content Database and Site Collection Report
  • SharePoint helpful hidden URLs

Tags

Config (1) Content Types (2) Design (3) Document Libraries (7) Document Sets (1) How-To (1) Lists (4) Office365 (1) PnP (1) PowerShell (12) Quick Edit (2) REST (1) SharePoint (11) SharePoint 2010 (11) SharePoint 2013 (14) SharePoint Foundation (2) SharePoint Online (1) SP2010 Workflow (2) SP2013 Workflow (3) Systems (2) User Profile Service (1) Views (5) Windows Server (1) Workflow (2)

Archives

  • November 2020
  • December 2018
  • September 2018
  • July 2018
  • September 2017
  • August 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • September 2013
  • July 2013
  • June 2013