Showing posts with label Download all WSP From Sharepoint Server using Powershell. Show all posts
Showing posts with label Download all WSP From Sharepoint Server using Powershell. Show all posts

Wednesday, 4 May 2016

Download all WSP From Sharepoint Server using Powershell





$pathName = "c:\WSPFiles\"
foreach ($solution in Get-SPSolution)
   {
 
    $solid = $Solution.SolutionID
    $title = $Solution.Name
    $filename = $Solution.SolutionFile.Name
    $solution.SolutionFile.SaveAs("$pathName\$filename")
}