คำสั่งตรวจสอบ IP Address Logon Remote Desktop ได้สำเร็จ พิมพ์

  • 0

คำสั่งตรวจสอบ IP Address Logon Remote Desktop ได้สำเร็จ

เปิด PowerShell 

ดู logon สำเร็จแบบ RDP จาก Security log (Type 10):
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} |
Where-Object { $_.Properties[8].Value -eq 10 } |
Select-Object TimeCreated,
@{N='User';E={$_.Properties[5].Value}},
@{N='SourceIP';E={$_.Properties[18].Value}} |
Format-Table -AutoSize

ดูความพยายามล็อกอินที่ล้มเหลว (brute force):
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} |
Select-Object TimeCreated,
@{N='User';E={$_.Properties[5].Value}},
@{N='SourceIP';E={$_.Properties[19].Value}} |
Format-Table -AutoSize


คำตอบนี้เป็นประโยชน์หรือไม่?

« กลับ