magritton
8/17/2016 - 9:45 PM

This gets all of the solutions in a SharePoint farm

This gets all of the solutions in a SharePoint farm

$farm = Get-SPFarm
$solutions = $farm.Solutions
foreach ($solution in $solutions) {
   $solution.SolutionFile.SaveAs("f:\temp\" + $solution.Name);
}