Tweaks of SharePoint PowerShell script to download installed SharePoint solutions from the farm. All solution has deployed on server hives folder and the database but there is not option to download them. Try with below script to attain it.
Snippet:
1 2 3 |
$farm = Get–SPFarm $solution = $farm.Solutions.Item(“SiteSolution.wsp”).SolutionFile $solutions.SaveAs(“c:\wsp\SiteSolution.wsp”) |
Cheers…!