1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/shutdown.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

36 lines
688 B
Markdown

# shutdown
> A tool for shutting down, restarting or logging off a machine.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown>.
- Shutdown the current machine:
`shutdown /s`
- Shutdown the current machine force-closing all apps:
`shutdown /s /f`
- Restart the current machine immediately:
`shutdown /r /t 0`
- Hibernate the current machine:
`shutdown /h`
- Log off the current machine:
`shutdown /l`
- Specify a timeout in seconds to wait before shutting down:
`shutdown /s /t {{8}}`
- Abort a shutdown sequence whose timeout is yet to expire:
`shutdown /a`
- Shutdown a remote machine:
`shutdown /m {{\\hostname}}`