Message ALL users before shutdown

Solution 1:

shutdown -r -t 30 -c "This system is shutting down in 30 seconds.."  

The -c "text" will add a comment to the display window notifying other users of the shutdown.

For Unix, the syntax would be shutdown -r -t 30 "This system is shutting down in 30 seconds.."