Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9921

PowerShell • Stop job pre-job script

$
0
0
Morning,

I have a pre-job powershell script that runs several checks on the server. Is there a way to abort the calling job depending on the powershell exit code or another method?

Is there a way to pass a message to the warning email instead of "Pre-job script terminated with exit code 1" ?

Thank you

Statistics: Posted by bctak25 — Jun 29, 2025 5:53 pm



Viewing all articles
Browse latest Browse all 9921

Latest Images

Trending Articles



Latest Images