This blog post is related to normal queries of SharePoint guys when they need to get deployed WSPs from SharePoint. I involved in migration of Project Server 2010 to Project Server 2016 so I need deployed WSP while testing mount database.
Following is simple script for downloading WSP through Power Shell:
$Folder="C\EPMMigration"
foreach ($deployedSolution in Get-SPSolution)
{
$id=$deployedSolution.SolutionID
$title=$deployedSolution.Name
$fileName=$deployedSolution.SolutionFile.Name
$deployedSolution.SolutionFile.SaveAs("$Folder\$fileName")
}
Following is simple script for downloading WSP through Power Shell:
$Folder="C\EPMMigration"
foreach ($deployedSolution in Get-SPSolution)
{
$id=$deployedSolution.SolutionID
$title=$deployedSolution.Name
$fileName=$deployedSolution.SolutionFile.Name
$deployedSolution.SolutionFile.SaveAs("$Folder\$fileName")
}
0 comments:
Post a Comment