Custom Script on Idle Shutdown

Cheerio folks,
I’m trying to set up optional idle shutdown for workstations.
The idea is that if people are leaving the studio but keep their PCs running they shall shutdown. If, however they’re still working they shall the presented with a small ui that allows them to abort the shutdown.
We are all on windows machines.
I already wrote a little powershell script that does exactly what I need. However, somehow it refuses to run on the worker machines.

Does anyone have similiar issues or another way to take on that issue?

Best,
Tony

Privacy | Site terms | Cookie preferences