Disable Manual Invocation in scripts prevents triggers from running


I have a central trigger script for all of our jobs that runs when a job is completed/failed/etc. manual invocation on the script is disabled because the script does not make sense to run without being triggered from a job.

After updating to 3.6.2, the script now fails with the error: Script does not allow manual execution.

Or as screencapped below:

Product: PowerShell Universal
Version: 3.6.2

This is a bug and will be resolved in 3.6.3.

1 Like