Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Powershell useful one-liners
# Search command history for specific terms
Get-Content (Get-PSReadlineOption).HistorySavePath | Where { $_ -match "SEARCH TERM HERE" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.