cat $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
doskey /HISTORY > history.txt
Last updated 3 years ago