PowerShell/CMD History

PowerShell

cat $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt

Cmd

doskey /HISTORY > history.txt

Last updated