Skip to content

Commit

Permalink
Create Check-Suspicious-Logins.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
rswio authored Jan 26, 2025
1 parent 4bc7eb1 commit a04fda9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Security/Check-Suspicious-Logins.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Get-EventLog -LogName Security -EntryType SuccessAudit -Newest 1000 | Where-Object {
$_.Message -match "Failed logon"
}

0 comments on commit a04fda9

Please sign in to comment.