Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Example Shell: 
echo NAME1 = VALUE1 >> %SCHEDULER_RETURN_VALUES%

Example Powershell: 
echo "NAME1 = VALUE1" >> $env:SCHEDULER_RETURN_VALUES%

Exit Code Handling

The following example throws no error in Shell but it breaks at line 2 and ends in an error for Powershell:

Code Block
linenumberstrue
echo job is starting
abcde
echo job is finishing

Examples

Example: Powershell as a Shell

...