October 6th, 2012

PowerTip: Easily Search PowerShell About Files

Doctor Scripto
Scripter

Summary: Learn how to use a switch to cause Get-Help to search _About files.

Hey, Scripting Guy! QuestionHow can you easily search the Windows PowerShell _About files for topics that are related to a string?

Hey, Scripting Guy! Answer Use the Category parameter and look for HelpFiles:

PS C:\> get-help parameter -Category helpfile

Name        Category Module     Synopsis

—-        ——– ——     ——–

about_CommonParameters   HelpFile       Describes t…

about_Functions_Advanced_Param… HelpFile       Explains ho…

about_Parameters     HelpFile       SHORT DESCR…

about_Parameters_Default_Values HelpFile       SHORT DESCR…

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.