TF Merge command in Powershell script task is not working
问题 I am having powershell task with the following commands in my pipeline which is running using custom agent pool. $TFFile = "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TF.exe" $mergeCommand = " merge $/MyProject/dev $/MyProject/test /recursive" Start-Process "$TFFile" "$mergeCommand" $comment = "Automated merge check-in" $CheckinToTarget = " checkin $/MyProject/test /comment:$comment /recursive /noprompt"