logoff Command Examples

Terminate a login session. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/logoff.

logoff

logoff {{session_name|session_id}}

logoff {{session_name|session_id}} /server:{{servername}}