PowerShell 参数仅在 Get-Help 中
当我运行 get-help get-process -detailed 时,我得到了完整的帮助。如果我只想知道 get-process -id 参数的作用,我会运行什么?有没有办法像这样向下钻取?
When I run get-help get-process -detailed
I get the full help. What would I run if I just wanted to know what the get-process -id
parameter does? Is there a way to drill down like that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,使用 -Parameter 标志
参数标志也可以使用通配符。查看所有参数的帮助
只是让您知道您可以在 Get-Help 上执行 Get-Help。
希望有帮助
yes, use the -Parameter flag
The parameter flag can also use wildcards. To see help on all parameters
Just so you're aware you can do a Get-Help on Get-Help.
Hope that helps