I'm creating some self service scheduled tasks that will require a restart once finished. However, they are installing groups of software at once so I do not want to hard code restarts into the scripts I'm writing. I'm warning the user that a restart will be occurring if they choose to install X piece of software... however at the end I'd like a restart to happen immediately without delay.
I see there are reboot options under the task specifically but everything I see seems to want to require user response first. Considering they're already accepted my warning I'd like to not let the installation be hung up awaiting user response again at completion. LDMS 9.6 SP2