Command and powershell History

To view powershell history, use the command below.

%userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt

For powershell use $Env:userprofile
Pentest
Total 0 Votes
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?