1. Windows XP (who said, Win7 also OK) under the Restart command
Shutdown/?
Usage: shutdown [/i|/l|/s|/r|/a|/p|/h|/e] [/f]
/I displays the graphical user interface (GUI).
/L logoff. This cannot be used with the/m or/d option
/s shut down the computer
/R shutdown and restart the computer
/A discards the system shutdown. (This can only be used during the timeout process)
/p shuts down the local computer without a timeout or warning. (This can only be used with the/d option)
/h hibernate the local computer. (This can only be used with the/F option)
/e Record the reason for the unexpected shutdown of the computer into the document
/m \\computer specifying the destination computer
The/t XXX setting expires before the timeout is xxx seconds. (Valid range is 0-600, default is 30)
/C "comment" The comment for the cause of the restart or shutdown. (maximum 127 characters allowed)
/F forces a running application to close without warning the user beforehand
/d [P:]xx:yy provides reasons for restart or shutdown
P indicates that the restart or shutdown is in the planned
XX is the main reason number (positive integer less than 256)
YY is a secondary reason number (a positive integer less than 65536)
Another day to further supplement the experimental summary.
Started blogging again: Windows restart command related