In PowerShell, enter the following command:
(Get-PSReadlineOption).HistorySavePath
This gives you a path where the whole story is saved. Then open the path in a text editor.
Try cat (Get-PSReadlineOption).HistorySavePathto have a cat (Get-PSReadlineOption).HistorySavePathstory in PowerShell.
source
share