Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

The History of your PowerShell

Aug
1,914
68
I was not aware that PowerShell saves everything you have ever typed at the PowerShell console;
Code:
notepad (Get-PSReadLineOption).HistorySavePath
I viewed the file, and discovered everything that I had typed in the PowerShell console since I started with this new system.

From what I understand, this is part of the PSReadLine module, that is new as of the Windows 10 October 2018 update.

The PSReadLine module contains cmdlets that let you customize the command-line editing environment in PowerShell.

Joe
 
Back
Top