View system logs in PowerShell
Get-WinEvent reads classic and ETW logs and works in PowerShell 7 on Windows; the older Get-EventLog cmdlet was removed from PowerShell 6+.
Shell: PowerShell · Category: system · Risk level: safe
What you provide
- log — Log name, e.g. System or Application
The exact syntax, a worked example and the flag reference are behind sign-in.
This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.