Thursday, December 24, 2009

How to shutdown and reboot remote machine via cmd

Examples for Shutdown switch

shutdown /s /m file://testserver/ - Shuts down a remote machine called 'testserver'
shutdown /r /m file://testserver/ - Reboots a remote machine called 'testserver'

Shutdown - with extra switches

/t for time (In seconds and Maximum value is 600secs)
/f for force (to force the reboot or shutdown)
/c for comment (to add comments)

Also, Click Here for A collection of shutdown commands for most DOS and Windows OS.

No comments:

Post a Comment