I need a solution
We are trying to get the name of a client computer as task input.
Both of these tasks are assigned to a server job.
Our first task is simply an echo. The save script output box has been checked.
@echo %COMPNAME%
This is the second task.
@echo %!var1!%
For the Task Input window, the settings are:
For var1: [Use output from a previous task]
[First Task - Script]
Basically, we want the first task to return the computer name, then have the second task take the computer name as a token.
However, this does not seem to be working. We're not getting the expected output of the computer name. Could someone clarify how this process works and what option we should be using if we want to pass a string between tasks? Thank you for your time.