start-job -Name LongRunningQuery -scriptblock {Invoke-RestMethod /LongRunningQuery}
start-job -Name Deadlocking -scriptblock {Invoke-RestMethod /Deadlocking}
start-job -Name CPU -scriptblock {Invoke-RestMethod /CPU}
start-job -Name Blocking -scriptblock {Invoke-RestMethod /Blocking}
start-job -Name FailedJobs -scriptblock {Invoke-RestMethod/FailedJobs}
start-job -Name LogSpace -scriptblock {Invoke-RestMethod /LogSpace}
I have tested this multiple times, but when I run the above via a script it seems that the 6th job will not run from Powershell Universal despite showing as ‘running’. When I run the exact same command from my local instance, everything works as expected.