Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # Clear the PSReadLine command history file
  2. $ConsoleHostHistoryPath = Join-Path $env:APPDATA "Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt"
  3. Clear-Content $ConsoleHostHistoryPath
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement