PSReadLine

noun

say it: “PEE ESS REED-lyn” /pi ɛs ˈridlaɪn/

The part of PowerShell that reads what you type at the prompt. It gives you the up arrow, Ctrl+R history search and gray predictions, and saves your history to a file.

What is PSReadLine?

PSReadLine is the part of PowerShell that reads what you type at the prompt. It gives you the up arrow, Ctrl+R to search your history, and gray predictions from earlier commands, and it saves your history to a file so the next window remembers it.

(Get-PSReadLineOption).HistorySavePath

In a sentence

  • “Thanks to PSReadLine, yesterday's commands came back with the up arrow in a brand-new window.”
  • “PSReadLine suggested the whole command in gray as soon as I typed Get-Con.”

Level: Apprentice · More PowerShell terms at this level

Updated