Download deployed wsp from your farm using powershell

Before you deploy new updated .wsp solution to your farm, you might want to backup existing .wsp file incase you need to revert back to previous version.

Here is  one shot powershell for that:


$farm= Get-SPFarm

$wsp = $farm.Solutions.Item("mywspfile.wsp").SolutionFile



Leave a Reply

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