sharepoint部署文件
使用SharePoint PowerShell 部署WSP
Uninstall-SPSolution Cbw_SinopecPortal_WebPart.wsp -AllWebApplications
Remove-SPSolution Bossini.TWCPWF.Addin.wsp
Add-SPSolution D:\TWCPWF\Bossini.TWCPWF.Addin.wsp
Install-SPSolution -Identity Bossini.TWCPWF.Addin.wsp -GACDeployment -force -AllWebApplications
Install-SPSolution -Identity Bossini.TWCPWF.Addin.wsp -GACDeployment -force -WebApplication http://moss64test
如果是要更新一个文件的则可以直接写上下面语句
Update-SPSolution Bossini.TWCPWF.Addin.wsp -LiteralPath “ C:\Users\Administrator\Desktop\Bossini.TWCPWF.Addin.wsp” -GACDeployment