SharePoint 2010: How do I download a wsp?
I recently had the requirement to move a wsp from one farm to another and the source component was nowhere to be seen.
I found a nifty little script here that gave me a solution:
$farm = Get-SPFarm
$file = $farm.Solutions.Item("mycode.wsp").SolutionFile
$file.SaveAs("c:\temp\mycode.wsp")
I found a nifty little script here that gave me a solution:
$farm = Get-SPFarm
$file = $farm.Solutions.Item("mycode.wsp").SolutionFile
$file.SaveAs("c:\temp\mycode.wsp")
Comments
Post a Comment