← Learn
Safe
Get-WinEvent -LogName Security -MaxEvents 50

windows · powershell · Expert

Reads the fifty most recent Security event log entries. This is the first thing a responder runs when checking for suspicious logons, and it only reads from the event log service.

Think you can spot these under time pressure?

Start Training

More PowerShell