Powershell Tip #27: Display the help for the parameters of a cmdlet

By | September 1, 2015

Tip: You can find information about a particular parameter or all parameters.

Particular parameterGet-Help -Name Get-Content -Parameter Path

You can get useful information:

  • This parameter accepts an array of strings: [string[]]$Path
  • This parameter is mandatory (true)
  • This parameter is positional (position 1)
  • This parameter doesn’t accept wildcard characters

get-help-particular-parameter

All parametersGet-Help -Name Get-Content -Parameter *

get-help-all-parameters


previous-buttonnext-button

2 thoughts on “Powershell Tip #27: Display the help for the parameters of a cmdlet

  1. Pingback: Powershell Tip #26: List the available commands from a module | Powershell Guru

  2. Pingback: Powershell Tip #28: Get last boot up time | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *