Prompting user to reboot PC at the end of a script?
I'm hoping to find a method of prompting a user to restart their system after a script has run, giving them the option to restart now or snooze, similar to a pending reboot when KACE is patching.
Here is an example workflow.
- Script performs an action that requires a reboot once finished.
- Dialog box is created prompting the user to restart and gives them the option to restart now or snooze. The reboot would automatically occur if there is no interaction within a set timeout such as 15 minutes.
Are there any native KACE functions or executables which can provide this functionality?