Posts

Showing posts with the label solution deployment

Sharepoint Solution & Feature depoyment

Working with Solutions the following stsadm command could be used to add a SharePoint solution to SharePoint: stsadm –o addsolution –filename “ D:\Deploy\MySharePointSolution.wsp “ We used the following command to deploy the solution once installed to a specific web application: stsadm –o deploysolution –name MySharePointSolution.wsp –url http://myspwebappp –allowgacdeployment –immediate If we would upgrade an existing solution, we would use the following: stsadm –o upgradesolution –name MySharePointSolution.wsp –filename “ D:\Deploy\MySharePointSolution.wsp ” -immediate And finally, we used the following commands to retract and delete a specific solution from the web application: stsadm –o retractsolution –name MySharePointSolution.wsp –url http://myspwebapp –immediate stsadm –o deletesolution –name MySharePointSolution.wsp Now, let us see how we could do above operations with PowerShell. For this, we use the following PowerShell...