Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to do WSP Deployment in SharePoint
WhatsApp
Manpreet Singh
9y
4
k
0
0
25
Blog
Hello Readers,
Irrespective of SharePoint Admins in a project, we developers sometimes land up in situation where we have to deploy our own wsp. So don’t worry if you don’t know how to do it if ur admin is not in with you.
The following are the commands you will require to deploy a wsp file.
Commands
To add a solution, run this script.
Add-SPSolution -LiteralPath “Your wsp location”.wsp
To install the solution, run this script
Install-SPSolution -Identity “Name of your solution”.wsp -GACDeployment -allwebapplications
To uninstall the solution, run this script
UnInstall-SPSolution -Identity “Name of your solution”.wsp -allwebapplication
To remove the solution, run this script
remove-SPSolution -Identity “Name of your solution”.wsp
Lastly to update some fixes, run this script
Update-SPSolution -Identity “Name of your solution”.wsp -LiteralPath “Your wsp location”.wsp –GACDeployment
commands to help you to achieve your deployment. Keep learning.
Cheers !
How to do WSP Deployment in SharePoint
Up Next
Download Deployed Solutions (WSP) from Central Admin with PowerShell in SharePoint 2013
Ebook Download
View all
SharePoint Online And Office 365 Administration
Read by 3.6k people
Download Now!
Learn
View all
Membership not found