Friday, May 21, 2010

Shutdown other computer

If we want to shutdown other computer which is in same domain.We can use shutdown command.

shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

Eg:

Shutdown -r -f -m \\machine name

-r indicates Shutdown and restart the server
-f indicates Forces running applications to close
-m indicates the machine name which is going to effect

No comments:

Post a Comment