Help Commands on Windows PowerShell

Q

How many ways to use Help commands on Windows PowerShell?

✍: FYIcenter.com

A

Windows PowerShell supports a number of ways to use the Help commands described below

get-help 
    Displays help information about the help system.
    
get-help <cmd>
    Displays summary information about the given command, 
    like "get-help get-date".

<cmd> -?
    Same as "get-help <cmd>".

get-help <cmd> -detailed
    Displays detailed information about the given command, 
    like "get-help get-date -detailed".

get-help <cmd> -full
    Displays full detailed information about the given command, 
    like "get-help get-date -full".

get-help *
    Displays a list of all available commands.

get-help *<keyword>*
    Displays a list of commands that match the given keyword, 
    like "get-help date".

get-help <keyword>
    Same as "get-help *<keyword>*".
    
get-help about_<topic>
    Displays help information about the given topic, 
    like "get-help about_providers".
    
help ...
    Same as "get-help ...". But it displays information one page at time.

man ...
    Same as "help ...".

 

Introduction of Windows PowerShell

⇒⇒Windows PowerShell Tutorials

2016-11-08, 366👍, 0💬