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")

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

How can I call a JIRA api through Powershell?