Bypassing Powershell execution Policy
Powershell Command History
Just like Linux bash, Windows powershell saves all previous commands into a file called ConsoleHost_history. This is located at:
%userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt