If you are tired of waiting for your Windows 7 computer to shutdown or restart, you can create a new shortcut that will speed up the process considerably.
By default the command line outputs are displayed onto a screen, but you can easily redirect into a text file or even make it to be used as an input for the following command.