Skip navigation

Stop Running Get-Help. Seriously.

Just today, I posted on StackOverflow, leaving a comment for someone who'd suggested running:

Get-Help about_variables | more

Pretty common, and it's something I see students do in class all the time. After bashing them in the head with the whole "verb-noun" cmdlet naming thing for a few hours, it's easy to understand why you'd want to run Get-Help.

Please don't.

Contrary to popular belief, neither help nor man are aliases to Get-Help. In fact, they're functions, preloaded every time you start the shell. Using help or man automatically pipes the output to more. So this is the same thing. Only shorter:
help about_variables

So there ya go.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish