Go to index

Get-Help

Reference

Get Help of a specific CmdLet or about topic using Get-Help

Get the basic help

To get the general and basic help about a cmdlet…

Get-Help -Name Get-WULastInstallationDate

Get the detailed help

To get the detailed help including parameter description & examples in-addition to the basic help

Get-Help -Name Test-WSMan -Detailed

Get the complete help

To get the comprehensive help includes parameter descriptions and attributes, examples, input and output object types, and additional notes.

Get-Help -Name Invoke-Expression -Full

Get the examples

To get the help with examples only

Get-Help -Name New-LocalGroup -Examples

Get help from online

To get the online help in a browser separately…

Get-Help -Name Test-Connection -Online

Get help in separate window

To get the full help in a separate window…

Get-Help -Name Get-Process -ShowWindow

Get parameter help

To get the help of a specific parameter of a cmdlet…

Get-Help -Name Get-NetConnectionProfile -Parameter InterfaceIndex
 
# To get the help of all the parameters of a command
Get-Help -Name Compress-Archive -Parameter *

Get help using aliases

You can use alias name as well to get the help, and even works with all the above parameter combination.

Get-Help -Name ls

Get help of a script

You can get the help of a script if it is available, and even works with all the above parameter combination.

Get-Help -Name C:\GitRepo\Test-Script.ps1

Get matching help topics

To list the available help matching with a specific word…

Get-Help -Name netconnection

Get the list of conceptual topics

To list all the conceptual topics

Get-Help -Name about_*

Get the conceptual topic help

To get the help of a specific conceptual topic

Get-Help -Name about_ForEach-Parallel


Go to index
Last modified: 1 July 2020