PSReadLine is a PowerShell module that improves the interactive command-line experience. It provides command history, arrow-key navigation, tab completion, syntax highlighting, editing shortcuts, and history search.

For example, when you press ↑ in PowerShell, PSReadLine lets you cycle through previously entered commands.

It also stores command history, commonly in:

%APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt

This matters in pentesting because the history file can sometimes contain passwords, API keys, commands, or other sensitive information that a user previously typed into PowerShell.
PSReadLine has it’s own history which is often not cleaned with Clean-History, we can access it with (Get-PSReadlineOption).HistorySavePath.