您的位置:首页 > 运维架构 > Shell

Powershell窗口查看帮助信息

2016-12-29 11:32 274 查看
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参数,窗口查看帮助信息:
使用窗口查看可以一边写命令一边查看帮助信息,互不影响




参考自:
李海园老师powershell管理
http://edu.51cto.com/course/course_id-1367.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息