1
votes

I am trying to execute PowerShell script during TFS build process. I added new activity "RunScript" into TFS Build workflow and new arguments. That script works with arguments.

Now I am trying to use returned value in another activity. Actually I would like to assign some global variable with that value in PowerShell script and pass to another process.

Any help?

1

1 Answers

0
votes

Output the value that you want to return with Write-Host then in your Standard Output of the InvokeProcess activity you'll get the value.