【发布时间】:2014-11-29 04:22:30
【问题描述】:
您好,我正在尝试通过 powershell 运行“tf get”命令,但是当它到达参数时,我总是会收到意外的令牌错误。
我按照这篇文章的说明进行操作 TFS commands in PowerShell script
发生错误的行是
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tf.exe" @("get", $args[$i])
其中 $args[$i] 是用户输入的参数,但脚本在调用 tf.exe 后停止执行
有人可以帮我吗?谢谢。
【问题讨论】:
-
将完整的错误添加到您的问题中
标签: powershell tfs tf-cli