PSReadLine Profile Power
The PSReadLine module is one of the most useful tools we have in PowerShell. You utilize it every day without realizing it. An early version of the module shipped with Windows PowerShell. The latest version is included with PowerShell 7. To get the most from the module, you should make sure you have the most current version.
PS C:\> Find-Module PSReadLine
Version Name Repository Description
------- ---- --------- -----------
2.3.5 PSReadLine PSGallery Great command line editi...
You can try to run Update-Module PSReadline
to install the most current version. However, if you have never updated the module, you still have the version that shipped with Windows. Most likely version 2.0.0
. If so, you'll get an error.
Update-Module : Module 'PSReadline' was not installed by using Install-Module, so it cannot be updated.
Want to read the full issue?