logoff:tldr:b2661
logoff: Terminate a session on a specific server connected through RDP.
$ logoff ${select} /server:${servername}
try on your machine
This command is used to log off a user from a remote server.
- "${select}" is a placeholder for the username or session ID of the user you want to log off. You need to replace it with the actual username or session ID.
- "/server:${servername}" is an optional parameter that specifies the name or IP address of the remote server from which you want to log off the user. You need to replace "${servername}" with the actual name or IP address of the server.
So, when you run this command with the appropriate values, it will initiate the logoff process for the specified user on the specified remote server.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.