Synchronous Triggers or another way to run code before every job?

Product: PowerShell Universal
Version: 4.3.0

Hi there,

I was wondering if there is any way to make triggers run synchronously, aka. blocking a started job until the trigger script is done.

I’m looking for a way to run some code before every job without having to write it into every script, is this possible?

Right now I have a solution where I’ve defined a startup script for the environment, unfortunately I guess there is no way to find the job information at this point?

It would also be nice if this could be done with triggers in a way so we can define this to run globally no matter the environment.