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"
- Get-ADUser PowerShell - Get AD user details using email address
- SharePoint error cannot connect to the configuration database
- SharePoint - Use Today's Date Time in list view filter and calculated column
- Not receiving email notification alert in SharePoint Online workflow - Power Automate, FLOW
- How to configure PDF iFilter for SharePoint
- Deploy SharePoint wsp solution package using PowerShell
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- How to enable missing SharePoint Site Assets, Site Pages library App
- Fix Power BI 404 not found error when connecting SharePoint Online List as Data Source
- Send Email with attachment using SharePoint PowerShell, SMTP server
- How to recover SharePoint FARM if the SQL Server IP changes
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- SharePoint list excel import error - Title is a required filed and can't be empty
- Show Hide SharePoint column in List Library form with the conditional formula
- How to create classic site in SharePoint Online
- SharePoint 2010 DataForm Unable to display this Web Part System.StackOverflowException
- Trigger Flow on selected Listitem from SharePoint view - create button with JSON column formatting
- SharePoint Server 2016 error Microsoft Office Online Server 2016 cant be installed on the same machine as a Microsoft SharePoint Server product
- How to get SharePoint List Item URL using PowerShell
- Sign in as different user missing in SharePoint 2013, how to enable
- Fix error The tool was unable to install the Web Server (IIS) Role during SharePoint 2019 Setup
- How to redirect SharePoint Site Collection to different URL
- SharePoint Server 2016 setup error - A system restart from a previous installation or update is pending. Restart your computer and run setup to continue.
- See actual SharePoint error exception modify web.config
- SharePoint PowerShell Merge-SPLogFile filter by time using StartTime EndTime
- NOTE: This project contains resource errors, so aapt did not succeed, which can cause rendering failures. Fix resource problems first. - Android
- Eclipse : This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in - Eclipse
- Android Development - How to switch between two Activities - Android
- SharePoint Server 2016 error Microsoft Office Online Server 2016 cant be installed on the same machine as a Microsoft SharePoint Server product - SharePoint
- AlertDialog with single button example : Android - Android
- Android : Remove ListView Separator/divider programmatically or using xml property - Android
- Eclipse : Workspace was written with an older version of the product and will be updated - Eclipse
- How to install homebrew (brew) on M1 Mac - MacOS
- Mac OS X Taking Screen Capture using Terminal - Mac-OS-X
- Microsoft Teams meeting Full Screen mode option missing - bring it back - Teams
- Enable Dark Mode in Gmail Desktop Browser - Google
- How to turn on channel notifications for Microsoft Teams - Teams
- PHP Script to Upload Images to Server - PHP
- Android Error Generating Final Archive - Debug Certificate Expired - Android
- [Fix] Steam: Friends Network Unreachable Error - HowTos
- How to get list of all Java versions installed on macOS - Java
- How to know if someone has read your WhatsApp message - WhatsApp
- Best Free Gif screen capture app now available for M1 Chip Mac - LICECap - MacOS