码迷,mamicode.com
首页 > 系统相关 > 详细

Powershell窗口查看帮助信息

时间:2016-12-29 21:02:22      阅读:245      评论:0      收藏:0      [点我收藏+]

标签:powershell   窗口查看   帮助信息   

Powershell查看命令的帮助信息可以直接使用help 命令名称,如下图

PS C:\> help Get-Command


名称

    Get-Command


摘要

    Gets all commands.



语法

    Get-Command [[-ArgumentList] [<Object[]>]] [-All] [-FullyQualifiedModule [<ModuleSpecification[]>]] [-ListImported] [-Module [<String[]>]] [-N

    oun [<String[]>]] [-ParameterName [<String[]>]] [-ParameterType [<PSTypeName[]>]] [-ShowCommandInfo] [-Syntax] [-TotalCount [<Int32>]] [-Verb

    [<String[]>]] [<CommonParameters>]


    Get-Command [[-Name] [<String[]>]] [[-ArgumentList] [<Object[]>]] [-All] [-CommandType {Alias | Function | Filter | Cmdlet | ExternalScript |

    Application | Script | Workflow | Configuration | All}] [-FullyQualifiedModule [<ModuleSpecification[]>]] [-ListImported] [-Module [<String[]>

    ]] [-ParameterName [<String[]>]] [-ParameterType [<PSTypeName[]>]] [-ShowCommandInfo] [-Syntax] [-TotalCount [<Int32>]] [<CommonParameters>


使用-ShowWindow参数,窗口查看帮助信息:

使用窗口查看可以一边写命令一边查看帮助信息,互不影响

技术分享


本文出自 “赵东伟的博客” 博客,请务必保留此出处http://zhaodongwei.blog.51cto.com/4233742/1887207

Powershell窗口查看帮助信息

标签:powershell   窗口查看   帮助信息   

原文地址:http://zhaodongwei.blog.51cto.com/4233742/1887207

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!