Export WSP solution packages

When WSP packages are added to a SharePoint farm they are stored in the config database. This is done to ensure new servers added to the farm can be synchronized with the specific farm configuration including WSP solution package deployment.

Because solution packages are stored in the config database, it’s possible to download/export the WSP package with PowerShell.

Get-SPSolution | ForEach-Object { $_.SolutionFile.SaveAs($_.SolutionFile.Name) }

The WSP packages are stored in the current directory.

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: