1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/windows/shutdown.md

37 lines
607 B
Markdown
Raw Permalink Normal View History

2019-03-11 20:44:25 +08:00
# shutdown
> 用于关闭、重启或注销计算机的工具。
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown>.
2019-03-11 20:44:25 +08:00
- 关闭当前计算机:
2019-03-11 20:44:25 +08:00
`shutdown /s`
- 强制关闭当前计算机的所有应用程序:
`shutdown /s /f`
- 立即重启当前计算机:
`shutdown /r /t 0`
- 休眠当前计算机:
2019-03-11 20:44:25 +08:00
`shutdown /h`
- 注销当前计算机:
2019-03-11 20:44:25 +08:00
`shutdown /l`
- 指定在关闭前等待的秒数:
2019-03-11 20:44:25 +08:00
`shutdown /s /t {{秒}}`
- 中止尚未超时的关机序列:
2019-03-11 20:44:25 +08:00
`shutdown /a`
- 关闭远程计算机:
2019-03-11 20:44:25 +08:00
2019-10-18 10:33:27 +08:00
`shutdown /m {{\\ 主机名}}`