What powershell syntax is Automox looking for in worklets?

I am new to Automox. I am trying to get a worklet working that will reboot computers but will ask for user input. Example if the user clicks “Okay” the computer will reboot but if the user clicks “Cancel” the tasks ends. The reboot works without a problem but the users is never asked for there input.

Is this possible to do with Automox?

Hi Joshua,

Automox worklets run in system context so your message will never reach the user, there are some worklets on here that uses a scheduled task to send messages to users.

examples:

2 Likes