tldr/pages/windows/logoff.md

20 lines
376 B
Markdown
Raw Normal View History

2018-07-09 16:15:16 +03:00
# logoff
> Terminate a login session.
- Terminate the current session:
`logoff`
- Terminate a session by its name or id:
`logoff {{session_name|session_id}}`
- Terminate a session on a specific server connected through RDP:
2018-07-09 16:15:16 +03:00
`logoff /server:{{servername}}`
- Terminate a session within a server or virtual machine (session id is required):
`logoff /vm {{session_id}}`