Right now, if we try to ask the help system for assistance with our Get-SystemInfo function, we’ll get something like this:
NAME Get-SystemInfo SYNTAX Get-SystemInfo [-ComputerName] <string> [[-ErrorLog] <string>] [-LogErrors] [<CommonParameters>] ALIASES None REMARKS Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help. -- To download and install Help files for the module that includes this cmdlet, use Update-Help.
Not so helpful, really. In fact, it’s downright wrong, because despite what it says, running Update-Help won’t do anything to give our function better-looking, more-complete help. Fortunately, there’s an easy fix, shown in the following listing.