Download WSP Files From SharePoint Central Administration

Go to your SharePoint Central Administration.

Click Start, then All Programs and select Microsoft SharePoint 2013 Products. After that open SharePoint 2013 Central Administration.

SharePoint 2013 central Administration

Go to Solution Management and click System Settings, then Manage Farm Solution.

Manage Farm Solution

Copy your WSP file name from Solution Management. Here I have to download documenteventreceiver.wsp file.

Open notepad and paste the following code.

  1. $farm = Get-SpFarm  
  2. $file = $farm.Solutions.Item(“documenteventreceiver.wsp ”).SolutionFile  
  3. $file.SaveAs(“E:\WSPFiles\documenteventreceiver.wsp ”)  
Here change your WSP file name and your path what you actually want it to be.

Save the notepad document with .ps1 extension.

Save the notepad document

Open SharePoint 2013 Management Shell.

Go to Start, then All Programs and select Microsoft SharePoint 2013 Products. After that click SharePoint 2013 Management Shell.

Go to your ps1 file location as in the following screenshot. Here I have saved it to WSPFiles inside E: drive.

WSPFiles

Just type the starting letter of your ps1 file name and press Tab key. After that click enter button.

click Enter button

Go to WSP location (already mentioned E:\WSPFiles) and your WSP file will be downloaded.

solution management

Summary

In this article we saw how to download WSP files from SharePoint Central Administration using PowerShell script.