Forum Discussion

sohailalam's avatar
sohailalam
Copper Contributor
Oct 23, 2023
Solved

Running remote commands in server

I have TestComplete in my Server name: TestServer and I would like Teamcity to run the TestComplete Projects which is in Server: TestServer. I did some research and found Invoke-Command -ComputerName...
  • Harm_Veenstra's avatar
    Harm_Veenstra
    Oct 23, 2023
    If you want to let Teamcity run a command on testserver, you must run it on the Teamcity server. You can't do a invoke-command in a scriptblock already running on a different server.

    It's difficult to get the complete picture of the work flow that you're trying to achieve 🙂

Resources