sharepoint 常用命令

1. 关于Solution

 

stsadm -o addsolution -filename f:\sspwspbuilder\sspwspbuilder.wsp

stsadm -o deploysolution -name sspwspbuilder.wsp -url http://srv-sspdev1:8001  -immediate -allowgacdeployment  -allowcaspolicies -force

stsadm.exe -o retractsolution -name sspwspbuilder.wsp -immediate

stsadm.exe -o deletesolution -name sspwspbuilder.wsp


--------当出现这个异常:   The solution cannot be removed when a job is scheduled or running 可用下面的命令解决---------------------
stsadm -o enumdeployments
stsadm -o canceldeployment -id b4ad9775-b5ca-4e25-ae40-4bef4e976fb5

 

你可能感兴趣的:(SharePoint)