管道更多似乎在Powershell v4.0中不起作用

时间:2014-07-18 15:04:38

标签: powershell

我试图运行一个显示多个文本屏幕的命令,并且我尝试使用more命令,但它似乎无法正常工作。

当我尝试使用这样的命令时:

Get-Help Get-Alias -full | more

我收到一条错误消息:

more.com : The term 'more.com' 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 is correct and try again.
At line:14 char:14
+     $input | more.com
+              ~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (more.com:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

任何人都有任何想法?

1 个答案:

答案 0 :(得分:0)

原来,powershell.exe不在路径中。