Restart a server using command prompt
Use command:
shutdown -r -f -t0
-r : restart
-f : forcefully
-t : time (Here we have given 0 secs, which means server will be rebooted immediately)
If you dont specify time, default time taken for shutting down is 30 secs.
Use command:
shutdown -r -f -t0
-r : restart
-f : forcefully
-t : time (Here we have given 0 secs, which means server will be rebooted immediately)
If you dont specify time, default time taken for shutting down is 30 secs.