天天看點

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參數,視窗檢視幫助資訊:

使用視窗檢視可以一邊寫指令一邊檢視幫助資訊,互不影響

<a href="http://s1.51cto.com/wyfs02/M02/8C/2B/wKioL1hkg7niyE1hAADNlwOpK90607.jpg" target="_blank"></a>

參考自:

李海園老師powershell管理

<a href="http://edu.51cto.com/course/course_id-1367.html" target="_blank">http://edu.51cto.com/course/course_id-1367.html</a>

      本文轉自cix123  51CTO部落格,原文連結:http://blog.51cto.com/zhaodongwei/1887207,如需轉載請自行聯系原作者

上一篇: vbs腳本加密
下一篇: 身份證校驗

繼續閱讀