November 17th, 2012

PowerTip: Automatically Search PowerShell 3.0 Help

Doctor Scripto
Scripter

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…

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.