regarding reading the Powershell history, why filter the results for the string "pa"?
Write-Host "=|| PowerShell Console History"
Write-Host "=|| To see all history, run this command: Get-Content (Get-PSReadlineOption).HistorySavePath"
Write-Host $(Get-Content (Get-PSReadLineOption).HistorySavePath | Select-String pa)
Is this a bug or "pa" stands for "password, "passwd", ... ?
Hi 👋
regarding reading the Powershell history, why filter the results for the string "pa"?
Is this a bug or "pa" stands for "password, "passwd", ... ?
What about using something like this?
Or maybe something that contains more than one keyword (e.g. secret, pass, pwd, ...)?
Thanks 🙏
@RandolphConley