ossimUpdate

Here's a quick solution which could come handy if you turn off your Windows-running device often.

Beside a simple shortcut with a shutdown /p which turns the Windows off without a prompt, there's an option to confirm the shutdown procedure (and actually select if you'd like to reboot etc.):

  1. open the Notepad and copy the code (with the semicolon included!): (new ActiveXObject("Shell.Application")).ShutdownWindows();
  2. save the file as (any_filename_you_prefer).js anywhere you want
  3. just make a shortcut (presumably on your Desktop) and enter the location and the name of the .js file to the "Target" field of the shortcut properties.