我正在寻找一种方法来关闭计算机(本地计算机)上的所有活动远程桌面会话。Windows 包含几个命令(rwinsta、qwinsta 等)来查看活动会话,但我不知道如何轻松使用这些信息(除非我解析字符串...)来关闭所有会话。
Powershell(或 C#、Batch)中有没有办法关闭本地计算机上的所有远程桌面会话?
谢谢,马丁
windows powershell windows-xp remote-desktop
powershell ×1
remote-desktop ×1
windows ×1
windows-xp ×1