无法 运行 powershell 脚本远程导致 Azure 中的测试代理部署失败
Unable to run powershell script remotely leading to test agent deployment failures in Azure
我有一个设置,我需要 运行 来自测试代理的自动化脚本。但是构建步骤失败
带有以下消息
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 服务已经 运行ning
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 服务配置不正确,尝试按照此处的步骤重新配置服务:How to Run PowerShell Commands on Remote Computers.
我有一个设置,我需要 运行 来自测试代理的自动化脚本。但是构建步骤失败 带有以下消息
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 服务已经 运行ning
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 服务配置不正确,尝试按照此处的步骤重新配置服务:How to Run PowerShell Commands on Remote Computers.