rebootWithWarning()

Reboots a machine, displaying a warning message to the end-user before the reboot process occurs.

Operating systems supported: Windows, OS X

Example

rebootWithWarning("Your computer is rebooting in 10 minutes", 10, "All Operating Systems", "Halt on Fail")