花了很多时间试图找出如何设置一些vm以允许tfs构建代理远程访问它并运行powershell脚本。
您可能会遇到以下错误消息:
Connecting to remote server (IP Address here) failed with the following error message :
WinRM cannot complete the operation. Verify that the specified computer name is valid,
that the computer is accessible over the network, and that a firewall exception for the
WinRM service is enabled and allows access from this computer. By default,
the WinRM firewall exception for public profiles limits access to remote computers within
the same local subnet. For more information, see the about_Remote_Troubleshooting Help
topic.
Connecting to remote server (IP Address here) failed with the following error message :
Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
---> System.Management.Automation.RuntimeException: Connecting to remote server
(IP Address here) failed with the following error message : Access is denied. For more
information, see the about_Remote_Troubleshooting Help topic.