For a sharepoint developer/Admin stsadm command is a must known command. I am going to explain how to use the stsadm command.
1.In order to retract solution from your site, you can use the command like as follows.
stsadm -o retractsolution -name "solutionName.wsp" -url "site url from which you want to retract the solution" -immediate
2.In order to add solution to the solution repository present in the central administration
stsadm -o addsolution -filename "path to the solution present in your local hard disk/solutionName.wsp"
3.In order to deploy the solution on particular site
stsadm -o deploysolution -name "solutionName.wsp" -url "site url" -immediate -allowgacdeployment -force
There are few more use of stsadm command .You can explore if you want
Thanks
1.In order to retract solution from your site, you can use the command like as follows.
stsadm -o retractsolution -name "solutionName.wsp" -url "site url from which you want to retract the solution" -immediate
2.In order to add solution to the solution repository present in the central administration
stsadm -o addsolution -filename "path to the solution present in your local hard disk/solutionName.wsp"
3.In order to deploy the solution on particular site
stsadm -o deploysolution -name "solutionName.wsp" -url "site url" -immediate -allowgacdeployment -force
There are few more use of stsadm command .You can explore if you want
Thanks
Comments