PowerTip: Automatically Search PowerShell 3.0 Help

Summary:  Learn how to automatically search Windows PowerShell 3.0 Help.

Hey, Scripting Guy! Question How can I search Windows PowerShell 3.0 Help files for a topic such as trustedhosts?

Hey, Scripting Guy! Answer Use Get-Help and supply the topic. Windows PowerShell Help automatically searches the content of the files, as shown here.

PS C:\> get-help trustedhosts

Name                              Category  Module                    Synopsis

—-                              ——–  ——                    ——–

Invoke-Command                    Cmdlet    Microsoft.PowerShell.Core Runs comman…

about_Remote_FAQ                  HelpFile                            Contains qu…

about_Remote_Troubleshooting      HelpFile                            Describes h…