Wednesday 16 July 2014

Download Farm Solution from the Solution Management[Tip]

This short post is from category "short tips". Recently I needed the actual solution package (.wsp) from one SharePoint 2013 Farm. Unfortunately the only thing we had was a Farm solution uploaded to the Solution Manager. Here is a short script to get the actual wsp package that is already uploaded.

$farm = Get-SPFarm
$file = $farm.Solutions.Item('mysolution.wsp').SolutionFile

This should also work on SharePoint 2010.

No comments:

Post a Comment