Skip to content

Instantly share code, notes, and snippets.

@rheid
Created August 16, 2018 09:01
Show Gist options
  • Save rheid/f7be3ae11d27482b0a041516f7b59232 to your computer and use it in GitHub Desktop.
Save rheid/f7be3ae11d27482b0a041516f7b59232 to your computer and use it in GitHub Desktop.
Backup WSP Solution from running SharePoint
$farm = Get-SpFarm
$file = $farm.Solutions.Item(“documenteventreceiver.wsp ”).SolutionFile
$file.SaveAs(“E:\WSPFiles\documenteventreceiver.wsp ”)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment