mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 11:57:56 +01:00
shutdown: add page (#2449)
This commit is contained in:
parent
24bd336560
commit
aaedbfef0b
1 changed files with 35 additions and 0 deletions
35
pages/windows/shutdown.md
Normal file
35
pages/windows/shutdown.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# shutdown
|
||||
|
||||
> A tool for shutting down, restarting or logging off a machine.
|
||||
|
||||
- Shutdown the current machine:
|
||||
|
||||
`shutdown /s`
|
||||
|
||||
- Restart the current machine:
|
||||
|
||||
`shutdown /r`
|
||||
|
||||
- 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 {{seconds}}`
|
||||
|
||||
- Specify a comment for the shutdown reason:
|
||||
|
||||
`shutdown /s /c "{{reason}}"`
|
||||
|
||||
- Abort a shutdown sequence whose timeout is yet to expire:
|
||||
|
||||
`shutdown /a`
|
||||
|
||||
- Shutdown a remote machine:
|
||||
|
||||
`shutdown /m {{\\hostname}}`
|
Loading…
Reference in a new issue