SharePoint Power-Shell Useful Commands
Adding a solution :
- stsadm –o addsolution –name SharePointProject2.wsp
or Using SharePoint Management Shell :
- Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp
Deploy a solution :
or Using SharePoint Management Shell :
- stsadm –o deploysolution –name SharePointProject2.wsp –url http://moss-server –allowCasPolicies –immediate
or Using SharePoint Management Shell :
- Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment
No comments:
Post a Comment