Showing posts with label SharePoint. Show all posts
Showing posts with label SharePoint. Show all posts

Thursday, July 16, 2020

How to download all WSPs from Central Admin through Powershell

You can use below mention powershell command to download all WSPs from Central Admin in SharePoint 2010 / 2013 / 2016 and 2019.

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