August 29th, 2015

PowerTip: Find Specific Help Articles with PowerShell

Doctor Scripto
Scripter

Summary: Learn how to easily find specific Help articles with Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find a Help article about automatic variables, if I am not sure of the title?

Hey, Scripting Guy! Answer Use the Get-Help cmdlet and begin with about_ , then press Tab expansion. It will cycle through matches.
           If you think the article is about_automatic_Variables, you can begin with the following command:

Help about_a<tab>

To quickly find the specific article, when the title appears, press ENTER to retrieve the article.

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.