First make sure to log in to SharePoint server (Application server is preferred) with Farm admin account and run PowerShell or command line as administrator
- Install Solution Using PowerShell
> Add-SPSolution <solution file name>
> Install-SPSolution -Identity <solution name> -WebApplication <virtual server url> -GACDeployment
- Install Solution Using STSADM
> stsadm -o addsolution -filename <solution file name>
> stsadm -o deploysolution -name <solution name> -url <virtual server url>
- Uninstall Solution Using PowerShell
> Uninstall-SPSolution -Identity <solution name> -AllWebApplications
> Remove-SPSolution -Identity <solution name>
No comments:
Post a Comment