Remove-SPSolution -Identity helloworld .wsp
Add-SPSolution "E:\helloworld.wsp"
Install-SPSolution –Identity helloworld.wsp -WebApplication http://abc -GACDeployment
Remove-SPSolution -Identity helloworld .wsp
Add-SPSolution "E:\helloworld.wsp"
Install-SPSolution –Identity helloworld.wsp -WebApplication http://abc -GACDeployment
转载于:https://www.cnblogs.com/Forest-zhu/archive/2011/07/07/2100144.html