Usually SharePoint admin guys takes backup of content DB and all physical files if they want to create replica of existing SharePoint site when actual site is down.
But that will not complete solves the solution, if there are any custom solutions already deployed.
So, admin guys needs those solution files.
To get those solution files which are deployed in SharePoint use the following power shell command to get all deployed solution files.
$pathName = "<PATH to Save files>"
foreach ($solution in Get-SPSolution)
{
$solid = $Solution.SolutionID
$title = $Solution.Name
$filename = $Solution.SolutionFile.Name
$solution.SolutionFile.SaveAs("$pathName\$filename")
}
Ref: http://ukreddysharepoint2010.blogspot.in/2015/05/how-to-download-all-deployed-wsp.html
Hope this helps!!!
But that will not complete solves the solution, if there are any custom solutions already deployed.
So, admin guys needs those solution files.
To get those solution files which are deployed in SharePoint use the following power shell command to get all deployed solution files.
$pathName = "<PATH to Save files>"
foreach ($solution in Get-SPSolution)
{
$solid = $Solution.SolutionID
$title = $Solution.Name
$filename = $Solution.SolutionFile.Name
$solution.SolutionFile.SaveAs("$pathName\$filename")
}
Ref: http://ukreddysharepoint2010.blogspot.in/2015/05/how-to-download-all-deployed-wsp.html
Hope this helps!!!
No comments:
Post a Comment