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