简体   繁体   中英

How to run psexec from a TFS invokeProcess task

I'm having problems running psexec from a TFS invokeProcess task.

My invokeProcess looks like this:

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

But my output looks like this:

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

How can I succesfully run the psexec.exe in my invokeProcess task?

I figured it out. The TFS build-service user did not have the proper access rights to the target server. I was led astray by the "other errors and warnings" messages. Even thought it works now, these messages and the 'stop'-icons still appear.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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