简体   繁体   English

如何从TFS invokeProcess任务运行psexec

[英]How to run psexec from a TFS invokeProcess task

I'm having problems running psexec from a TFS invokeProcess task. 我在从TFS invokeProcess任务运行psexec时遇到问题。

My invokeProcess looks like this: 我的invokeProcess看起来像这样:

http://www.bjesklauget.dk/images/memberImages/psexec_task.png http://www.bjesklauget.dk/images/memberImages/psexec_task.png

But my output looks like this: 但是我的输出看起来像这样:

http://www.bjesklauget.dk/images/memberImages/psexec_tfs.png http://www.bjesklauget.dk/images/memberImages/psexec_tfs.png

How can I succesfully run the psexec.exe in my invokeProcess task? 如何在我的invokeProcess任务中成功运行psexec.exe?

I figured it out. 我想到了。 The TFS build-service user did not have the proper access rights to the target server. TFS构建服务用户没有对目标服务器的适当访问权限。 I was led astray by the "other errors and warnings" messages. “其他错误和警告”消息使我误入歧途。 Even thought it works now, these messages and the 'stop'-icons still appear. 即使认为它现在可以工作,这些消息和“停止”图标仍然会出现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM