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


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



Leave a Reply

Your email address will not be published.