Deploying custom wsp in SharePoint FARM are done in 2 steps - Adding solution, Deploying/Installing solution. These PowerShell commands will work with SharePoint 2010 and SharePoint 2013. For older versions like MOSS 2007, you need to use STSATM commands.
Verify and make sure the account has necessary permissions and SharePoint Management Shell is run as Administrator.Add solution - Add-SPSolution
Add the wsp solution package to the SharePoint FARM solution database. This is required before deploying the package.
Deploy solution - Install-SPSolution
The solution deployment command varies a bit based on the criteria whether it's for a particular web application or all web applications.
The deployment process can be done via Central Admin too.
[Deploy to single Web Application] Install-SPSolution -Identity -WebApplication [Deploy to all Web Applications] Install-SPSolution -Identity -AllWebApplications -GACDeployment
Add-SPSolution -LiteralPath "C:\WSP\Code2CareSolution.wsp" Install-SPSolution -Identity Code2CareSolution.wsp -WebApplication "http://code2care.org"
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly
- How to generate client id and secret to register SharePoint App with OAuth
- Create SharePoint Site Collection with new Content database in existing web application
- Fix Error 2711 SQL RBS client - The installer has encountered an unexpected error. The specified Feature name ('Docs') not found in Feature table
- How to exclude results from SharePoint Search
- 'Edit Document' Requires a Windows Sharepoint Services-compatible application and Microsoft Internet Explorer 6.0 or higher
- [Solved] SharePoint Access Denied error editing Document Name
- Recommended size and resolution for SharePoint Online Site logo
- SharePoint Server 2016 IT Preview - new improved Features and Enhancements
- Restore deleted Office 365 SharePoint group site
- SharePoint An unexpected error has occurred - Correlation ID and PowerShell Merge-SPlogfile
- [Solved] SharePoint Search Internal server error exception
- SharePoint CAML query error - The XML source is not correct
- How to hide quick launch in SharePoint classic site
- Not receiving email notification alert in SharePoint Online workflow - Power Automate, FLOW
- Change SharePoint search results FullTextSqlQuery RowLimit 10000
- Fix Power BI error Access to the resource is forbidden when connecting SharePoint Online List as data source
- [Fix] Restricted View permission level missing in SharePoint Online site library
- How to upload file programmatically to SharePoint Document Library using Server Object Model C# .Net
- How to create classic site in SharePoint Online
- That did'nt work, Issue type User not in directory - SharePoint external access error
- Merge-SPlogfile PowerShell - SharePoint Correlation ID error
- Fix Power BI 404 not found error when connecting SharePoint Online List as Data Source
- SharePoint Server 2016 IT Preview Deprecated Removed features
- SharePoint error - An exception occurred when trying to issue security token: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms..
- Your JBoss Application Server 7 is running However you have not yet added any users to be able to access the admin console - Java
- Java Code to check if Twitter app is installed on Android device - Android
- [Solved] com.sun.xml.ws.transport.http.servlet.WSServletContextListener ClassNotFoundException - Java
- Java Stream flatmap() Examples - Java
- How to Change or Set a new Password for your Wi-Fi Router - HowTos
- Change default language highlighting in Notepad++ - NotepadPlusPlus
- How to destroy PHP session() - PHP
- macOS: Text to Speech Command - say examples - MacOS