WSP Backup from Central Administration in Share Point

Leave a Comment
Hi All,

following snippet will be used to get the back up of the wsp from the Central Administration.
-> Open the Management Shell as an Administrator
-> Type the below PS Snippet , Provide your wsp name in place of "Nameofthewsp"

$farm = Get-SPFarm
$file = $farm.Solutions.Item("Nameofthewsp.WSP").SolutionFile
$file.SaveAs("C:\Backup\Nameofthewsp.WSP")

Related Post

0 comments:

Post a Comment