PowerShell/CMD History
PowerShell
cat $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
Cmd
doskey /HISTORY > history.txt
Last updated
cat $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
doskey /HISTORY > history.txt
Last updated