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.

Please or Register to post comments.

What's PowerShell with a Purpose Blog?

Don Jones demystifies Windows PowerShell.

Blog Archive

Sponsored Introduction Continue on to (or wait seconds) ×