Problem) Deploy web-part to the sharepoint 2013 farm through powershell?
Solution)
once you are in the folder then
run the powershell script below :
stsadm -o addsolution -filename Webpart1.wsp
once its deployed successfully you can check it in central admin> system settings > under farm managment -- Manager farm solutions to see that status of the webpart deployement .
To deploy this solution click on the webpart1.wsp in solution management and you will see option on top of page such as Deploy Solution | Retract Solution| Back To solutions .
Click on Deploy solution and then you can select the web application on which you want this web-part to be accessible on .
Solution)
Run powershell as administrator and then go to the folder where you have the webpart or wsp file
using :
example: ps cd c:\users\name\desktop\webpart1
once you are in the folder then
run the powershell script below :
stsadm -o addsolution -filename Webpart1.wsp
once its deployed successfully you can check it in central admin> system settings > under farm managment -- Manager farm solutions to see that status of the webpart deployement .
To deploy this solution click on the webpart1.wsp in solution management and you will see option on top of page such as Deploy Solution | Retract Solution| Back To solutions .
Click on Deploy solution and then you can select the web application on which you want this web-part to be accessible on .
Comments
Post a Comment