如何从命令行检查谁当前登录到Windows工作站?

前端之家收集整理的这篇文章主要介绍了如何从命令行检查谁当前登录到Windows工作站?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
环境在域中,服务器是 Windows Server 2003,工作站安装了Vista和XP.
我需要远程检查当前登录工作站的人,最好是从一些简单的命令行,没有sysinternals或第三方程序.

谢谢

见这里: https://web.archive.org/web/1/http://techrepublic%2ecom%2ecom/5208-7343-0.html?forumID=101&threadID=307918&messageID=3065346

他们建议Windows上可用的wmic命令:

WMIC /NODE: xxx.xxx.xxx.xxx
COMPUTERSYSTEM GET USERNAME Will
return the username currently logged
into xxx.xxx.xxx.xxx

or WMIC /NODE: “workstation_name” COMPUTERSYSTEM GET USERNAME will return the username currently logged into “workstation_name”

原文链接:https://www.f2er.com/windows/370759.html

猜你在找的Windows相关文章