Created
December 20, 2024 21:42
-
-
Save kmatt/5b3b9bedff440b71998bac0f8ec9501e to your computer and use it in GitHub Desktop.
Select and browse Windows event logs with FZF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Get-EventLog *).Log | fzf | % { Get-EventLog -LogName $_.Trim() -after (Get-Date).AddDays(-7) } | fzf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not much of a PowerShell person, so this use of pipes may not be the most efficient.