I have a requirement to move all WSP's from Local Machine to QA server using PowerShell. Any links please.


First you should prepare the list of solutions that are deployed in your local machine. For that you can go into Central Admin - System Settings - Solutions

From here list down the WSP names.

Now you can use following PowerShell to download each WSP to your local folder

$farm = Get-SPFarm
$file = $farm.Solutions.Item("wspfilename.wsp").SolutionFile

Now copy folder c:\install to QA and use below PowerShell to install those

Add-SPSolution c:\install\wspfilename.wsp

Now you can deploy the solution using

Install-SPSolution –Identity wspfilename.wsp –WebApplication http://QA 



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.