tldr/pages.zh/windows/shutdown.md

29 lines
522 B
Markdown
Raw Normal View History

2019-03-11 12:44:25 +00:00
# shutdown
> 用于关闭,重新启动或注销计算机的工具。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown>.
2019-03-11 12:44:25 +00:00
- 关闭当前的计算机:
2019-03-11 12:44:25 +00:00
`shutdown /s`
- 休眠当前的计算机:
2019-03-11 12:44:25 +00:00
`shutdown /h`
- 注销当前的计算机:
2019-03-11 12:44:25 +00:00
`shutdown /l`
- 指定在关闭之前等待的时间(以秒为单位):
2019-03-11 12:44:25 +00:00
`shutdown /s /t {{秒}}`
- 在超时之前取消关机指令:
2019-03-11 12:44:25 +00:00
`shutdown /a`
- 关闭远程的计算机:
2019-03-11 12:44:25 +00:00
2019-10-18 03:33:27 +01:00
`shutdown /m {{\\ 主机名}}`