Stop Running Get-Help. Seriously.

Running Get-Help is 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.

Don Jones

July 12, 2011

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like