Shutdown a computer by cmd
Steps
1. Press window key+R
2. Type cmd
and press Enter.
Do a Remote Shutdown for a PC on a LAN Step
3"
3. Type in shutdown -m
\\computername, replacing "computername" with the name of the computer you wish
to shutdown or the computer's IP address.
4. Experiment with the shutdown commands switches.
- -r will force a restart, disabling any
services or user interaction from interrupting it.
- -c "comment" will force a
comment to appear on the system being shutdown.
- -t xx will force a timeout for
"xx" seconds. For example, -t 60 would perform a shutdown after a 60-second timeout.
- -a will abort the shutdown.
- A full
command example: shutdown -m
\\myserver -r -c "This system will shutdown in 60 seconds" -t
60
Comments
Post a Comment