You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get-PSReadLineHistory - is not recognized as a name of a cmdlet #4998
Search the existing issues, especially the pinned issues.
Exception report
Get-PSReadLineHistory: The term 'Get-PSReadLineHistory' is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
There is no Get-PSReadLineHistory cmdlet (see PSReadLine cmdlets doc). To output the history saved by PSReadLine you can use Get-Content to get the content of the history file:
# History file path is saved in PSReadLine option HistorySavePathGet-Content-Path (Get-PSReadLineOption).HistorySavePath
Activity
arpan3t commentedon Nov 2, 2025
There is no
Get-PSReadLineHistorycmdlet (see PSReadLine cmdlets doc). To output the history saved by PSReadLine you can useGet-Contentto get the content of the history file:There is also an example of working with the history in the SamplePSReadLineProfile
eliassal commentedon Nov 10, 2025
OK, thanks