Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 无法远程运行powershell脚本,导致Azure中的测试代理部署失败_Windows_Powershell_Azure_Tfs_Winrm - Fatal编程技术网

Windows 无法远程运行powershell脚本,导致Azure中的测试代理部署失败

Windows 无法远程运行powershell脚本,导致Azure中的测试代理部署失败,windows,powershell,azure,tfs,winrm,Windows,Powershell,Azure,Tfs,Winrm,我有一个设置,我需要从测试代理运行自动化脚本。但构建步骤失败了 带着下面的信息 connecting to remote server DevBox02 failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and

我有一个设置,我需要从测试代理运行自动化脚本。但构建步骤失败了 带着下面的信息

connecting to remote server DevBox02 failed with the following error message 
: The client cannot connect to the destination specified in the request. Verify that the 
service on the destination is running and is accepting requests. Consult the logs and 
documentation for the WS-Management service running on the destination, most commonly IIS or
WinRM. If the destination is the WinRM service, run the following command on the 
destination to analyze and configure the WinRM service: "winrm quickconfig". For more 
information, see the about_Remote_Troubleshooting Help topic.'. For troubleshooting
但是,当我分析测试代理计算机时,我得到了WinRM服务已经在运行的消息

PS C:\Windows\system32> winrm quickconfig
WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.
PS C:\Windows\system32>
当我看到WinRM服务启动并运行时,我不确定为什么会收到此消息

我还配置了防火墙例外


请帮我指出我缺少的东西。非常感谢未正确配置WinRM/Remote Powershell服务,请尝试按照此处的步骤重新配置该服务:。

您使用的是哪个版本的TFS?您正在使用vNext构建吗?此问题发生在哪一步?你能分享你的构建定义吗?非常感谢Eddie。