Monday, October 29, 2012

Download wsp from central admin sharepoint

Here is the situation where we need to take the backup of the deployed wsp file in sharepoint.

For this, We can do this with the PowerShell scripting.

Following are the PowerShell script code to take the backup and restore it is local folder with .wsp externsion.

$farm = Get-SpFarm
$file = $farm.Solutions.Item("FileName.wsp").SolutionFile

Thanks !!

No comments:

Post a Comment