Created
November 8, 2018 16:11
-
-
Save Shogan/320bb5a5691d68cbb888b0259dc42063 to your computer and use it in GitHub Desktop.
Powershell useful one-liners
This file contains 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
# 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