Powershell 查看&注销远程登陆用户

Powershell 远程登陆用户列表

  1. qwinsta
  2. icm -ComputerName 192.168.1.1 -Authentication Negotiate {qwinsta}

Powershell 远程查看目标服务器远程登陆用户列表

  1. rwinsta 3 # 数字3 表明远程session ID
  2. icm -ComputerName 192.168.1.1 -Authentication Negotiate {rwinsta rdp-tcp#11} # rdp-tcp#11 表明SessionName

官方连接:shell

  1. qwinsta
  2. rwinsta
相关文章
相关标签/搜索