Versions Compared

Key

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

...

  • Consider use of the following shebang in the first line of the job script:
    @@findstr/v "^@@f.*&" "%~f0"|pwsh.exe -&goto:eof
  • The PowerShell executable pwsh.exe is available starting from PowerShell 6.0. PowerShell releases 5.x use the executable powershell.exe that can be used accordingly with the shebang.
  • For details about the PowerShell shebang see JS7 - How to run PowerShell scripts from jobs

...