logoff (windows)

Posted by tldr
Public (Editable by Users)
Shell
None
Edit
# 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:
logoff {{session_name|session_id}} /server:{{servername}}