InitiateSystemShutdown - Example
The workstation will shut down after 30 seconds and then rebooted. If necessary, the user is prompted to save all changes to running applications.
(The upper dialog displays the command, the lower dialog displays the message for the user.)