如想要查詢Windows 遠端桌面連線紀錄 可以透過Windows PowerShell 指令如下:

Get-EventLog -log Security -InstanceId 4624 -Newest 100 | Select TimeGenerated,InstanceId,@{Name="Remote IP";Expression={ $_.ReplacementStrings[18] }}

可以查詢到最後一百筆連線紀錄,操作如圖

這篇文章有幫助嗎? 0 用戶發現這個有用 (0 投票)