在Win 10上工作,但在2012年服务器上,R2不存在。Get-PSReadlineKeyHandler : The term 'Get-PSReadlineKeyHandler' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path
Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine forIf you want to re-enable it, run 'Import-Module PSReadLine'.PowerShell启动时不显示警告,因为我没有使用屏幕阅读器。解决方案
运行指定的命令Import-Module PSReadLine。自从我第一次想要理解为什么这里有警告以来,我就没有运行过