This article explains how to update, uninstall and remove a solution in SharePoint Central Administration using PowerShell commands.
Update Solution
First get your Update WSP file literal path.
Step 1
Right-click your solution and go to Open Folder in File Explorer.
![Open Folder in File Explorer]()
Step 2
Open the bin folder.
![Open bin folder]()
Step 3
Open the Debug folder and copy the literal path for your Updated WSP file (EmployeeDetails.wsp).
![debug folder]()
Step 4
Open SharePoint 2013 Management Shell with Run as administrator.
Step 4
Run the following command:
Update-SPSolution –Identity “Your WSP Name”.wsp –LiteralPath “WSP path Url”\”Your WSP Name”.wsp –GACDeployment
![Run Command on cmd]()
Click Enter.
![Console]()
Your solution will be updated.
![employee detail]()
Uninstall Solution
Step 1
Open SharePoint 2013 Management Shell with Run as administrator.
Step 2
Run the following Command:
![Run Command]()
Step 3
Type “Y” to continue and “N” for Cancel and click Enter.
![click enter]()
Remove Solution
- Open SharePoint 2013 Management Shell with Run as administrator.
- Run the following command.
Remove-SPSolution –Identity “Your WSP Name”.wsp
Summary
In this article we explored how to update, uninstall and remove a SharePoint solution in SharePoint 2013 using PowerShell commands.