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
相關文章
相關標籤/搜索