Cannot configure a TFS build agent with Powershell ISE

After downloading the vNext build agent from VSTS page or from on-premises TFS, I followed the steps to configure agent in Powershell ISE.

Upon running .\config.cmd, there is a display of >> Connect:

There is no other prompt further to proceed with the configuration like below.

CannotConfigurevNextAgentwithPowershellISE

Tried the same with Powershell console and it worked.

Why is it so? Why is it not working with ISE?

Upvotes: 1

Views: 600

Answers (1)

starian chen-MSFT
starian chen-MSFT

Reputation: 33728

The PowerShell ISE does not support console applications that require interactive input. You can check this blog.

So you need to use PowerShell Console or Command Prompt to config build agent.

Upvotes: 4

Related Questions