tldr/pages/windows/logoff.md

17 lines
401 B
Markdown
Raw Normal View History

2018-07-09 16:15:16 +03:00
# logoff
> Terminate a login session.
2019-08-22 15:37:57 +03:00
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/logoff>.
2018-07-09 16:15:16 +03:00
- 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 {{session_name|session_id}} /server:{{servername}}`