Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Clear the PSReadLine command history file
- $ConsoleHostHistoryPath = Join-Path $env:APPDATA "Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt"
- Clear-Content $ConsoleHostHistoryPath
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement