" shutdown /m \\Computer-name /r /t 01 /y /f "
1. /m\\Computer-Name - Here the remote computer IP or Name is specified if not specified the local machine is shutdown.
2. /r - This option gives instruction to restart the machine.
3. /t 01 - Here the time in seconds is specified for the system to hold the shutdown.
By default it holds 20 seconds.
4. /y - Gives yes to all questions asked by the system when shutting down.
5. /f - This option is given to forcefully end all programs running in the system also can lead to loss of data.