Here is the simple tfs powershell build task, i couldn't make it work, trying to run the script on windows 7 machine.
i am getting the below error:
2017-11-11T21:46:00.4972350Z ##[error]Connecting to remote server ryhel-d8x7frd 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 more info please refer to http://aka.ms/powershellontargetmachinesreadme
i referred the Same question & answer , but i have no clue how to overcome this error from build task. any help would be appreciated ? Thanks.