Deploying a webpart by command line

stsadm -o addsolution -filename c:tempLogViewer.wsp
stsadm -o deploysolution -name LogViewer.wsp -immediate -allcontenturls
stsadm -o execadmsvcjobs