I dont see a quick way.
but here is my suggestion.
1. user "query session /servuer:<servername>"
2. Use vbscript to run the above command and parse the output for the required user,
3. grab the session id from the output
4. run "logoff session /serveR:<servername> on the collected data.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?