Why 'more' does not work in help cmdlet of PowerShell here?

拟墨画扇 提交于 2019-12-13 02:42:54

问题


I want to see the help contents page by page in PS.

I try | more like:

help about_Debuggers|more

but still does not work and I get pages of info flowing at once.

Is there another way or what it shte correct way to achieve this?

Thanks!


回答1:


'help' is a function that wraps a Get-Help call piped to the more utility. So by default you should get paged output.

When you execute your command you're actually sending output calling 'more' twice. That said, either way, it works for me. Testes on v3. What do you get by just executing:

help about_Debuggers


来源:https://stackoverflow.com/questions/13191548/why-more-does-not-work-in-help-cmdlet-of-powershell-here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!