PowerShell 1.0: Getting Help with Get-Help

If you are new to PowerShell, then you will definitely find the Get-Help cmdlet to be a quite useful tool for learning about Windows PowerShell. Here’s some “help” on using Get-Help:


get-help
Displays information about the help system in Windows PowerShell.

get-help get-command
Displays simple help for a cmdlet, such as Get-Process or Get-Eventlog.

get-help get-command -detailed
Displays detailed help for a cmdlet, including parameter descriptions and examples.

get-help get-command -full
Displays all of the available help for a cmdlet.

get-help get-command -examples
Displays only the examples of a help file.

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply

You may also like-

PowerShell: Enable Script SupportPowerShell: Enable Script SupportBy default, PowerShell has scripting support disabled. If you try and run a PowerShell script, you will be greeted with an error stating that ... PowerShell:  Get a Cmdlet or Script's Execution TimePowerShell: Get a Cmdlet or Script's Execution TimePowerShell allows you to get the exact execution time it would take to run a cmdlet or script. This is useful if you are ...