Add and install SharePoint 2010 Solution via Powershell


/ Published in: Windows PowerShell
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #Load SharePoint Powershell SnapIn
  2. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction"SilentlyContinue"
  3. #Add SharePoint Solution to Solution Store
  4. Add-SPSolution -LiteralPath "C:\Solutions\Wingtip DevProject1.wsp"
  5. #Install solution only to the local server
  6. Install-SPSolution -Identity "WingtipDevProject1.wsp" -Local -GACDeployment

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.