tldr/pages/windows/logoff.md

17 lines
396 B
Markdown
Raw Normal View History

2018-07-09 14:15:16 +01:00
# logoff
> Terminate a login session.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/logoff>.
2018-07-09 14:15:16 +01:00
- Terminate the current session:
`logoff`
- Terminate a session by its name or ID:
2018-07-09 14:15:16 +01:00
`logoff {{session_name|session_id}}`
- Terminate a session on a specific server connected through RDP:
2018-07-09 14:15:16 +01:00
`logoff {{session_name|session_id}} /server:{{servername}}`