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
歡迎關注本站公眾號,獲取更多信息