Powershell 查看&注销远程登陆用户
Powershell 远程登陆用户列表
qwinsta
icm -ComputerName 192.168.1.1 -Authentication Negotiate {qwinsta}
Powershell 远程查看目标服务器远程登陆用户列表
rwinsta 3
# 数字3 表明远程session ID
icm -ComputerName 192.168.1.1 -Authentication Negotiate {rwinsta rdp-tcp#11}
# rdp-tcp#11 表明SessionName
官方连接:shell
- qwinsta
- rwinsta
欢迎关注本站公众号,获取更多信息