且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

TFS 2018发布管道中目标计算机上的PowerShell失败

更新时间:2022-12-23 12:01:51

  1. 通过Powershell将TFS服务器计算机添加到目标计算机中的TrustedHost.
    Set-Item WSMan:localhost\client\trustedhosts -value ServerDC

  1. Add the TFS server machine to TrustedHost in Target machine through powershell.
    Set-Item WSMan:localhost\client\trustedhosts -value ServerDC

确保此任务中提供的凭据具有管理员角色,并且在这种情况下,它们同时可以访问TFS.如果提供的凭据没有TFS管理员特权,则该任务将无法调用代理程序来触发VisualStudioRemoteDeployer.

Ensure credentials provided in this task is of admin role and at same time they have access w.r.to TFS in this case. If provided credentials does not have TFS admin previlage, the task cannot invoke agent to trigger VisualStudioRemoteDeployer.