If you are looking to take back-up of your WSP (solution) which are deployed in your environment and taking back-up is important before you deploy new solution.
Below script can help you to download WSP.
$farm = Get-SPFarm
$file = $farm.Solutions.Item("solution.wsp").SolutionFile
$file.SaveAs("file location where to save")
Below script can help you to download WSP.
$farm = Get-SPFarm
$file = $farm.Solutions.Item("solution.wsp").SolutionFile
$file.SaveAs("file location where to save")
No comments:
Post a Comment