需要创buildbatch file来远程重启某些服务,并以pipe理员模式远程重启iis。
帮助将不胜感激
谢谢krish
SC和净开始净止损是要走的路。
SC的MS KB链接。
Technet上的networking命令。
还有iisrest ,它是专门用于IIS的命令行工具。
为什么不使用SC? http://ss64.com/nt/sc.html
SC为+1
要升级过去的UAC(如果这是你的意思,通过pipe理员权限运行),你可以使用elevate.cmd – http://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx?pr=blog