Chapter 9. Writing help

You’ll notice in this book that each progressive chapter (through at least chapter 14) will make your tools progressively better and better. You could just take what you’ve learned to this point and stop, knowing that you have a functional, useful, and well-designed tool. But why stop now when it’s just getting fun?

We’re going to start focusing more and more on making your tools look, feel, smell, and taste (imagine that) more and more like a “real” PowerShell cmdlet. One way to do that is to have your tools include help that looks just like the help for PowerShell’s native cmdlets.

9.1. Comment-based help

Right now, if we try to ask the help system for assistance with our Get-SystemInfo function, we’ll get something ...

Get Learn PowerShell Toolmaking in a Month of Lunches 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.