Tuesday, April 15, 2014

Download a WSP Solution From SharePoint

I had a requirement where I need to download the deployed WSP from central admin,but CA doesn't provide link to download that. After investigating I found a solution using PowerShell. So sharing that may be you can benefit of that.

$farm = Get-SPFarm
$file = $farm.Solutions.Item("corporate.build.wsp").SolutionFile
$file.SaveAs("d:\corporate.build.wsp")

Thanks