Problem: Command line to shutdown windows

You need to create a shortcut with the command line
C:\WINDOWS\RUNDLL32.EXE user.exe,ExitWindows
where C:\WINDOWS is your windows folder