13.1. The Help System

The PowerShell designers seem to have known from the very beginning that if the product was to be adopted and really used by a large number of people, it had to be easy to learn. Until now, we have concentrated on the conventions and the descriptive names for all built-in commands that read like English. Of course, even those can sometimes be difficult and that is why every command is fully documented. You can get help by calling the Get-Help cmdlet. Get-Help, being a good cmdlet citizen, returns objects, which may not be the best thing to spew at a novice user. To make the help text more accessible, PowerShell also provides a help command, which is a function that just calls Get-Help and pipes its output through the

Get Pro Windows PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.