Method
Default location
`$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt`Read the history file (default location):
type C:\Users\%username%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txtRead from the Get-PsReadlineOption command
type (Get-PsReadlineOption).HistorySavePathLast updated
Was this helpful?
