PowerTip: Automatically Search PowerShell 3.0 Help

PowerTip: Automatically Search PowerShell 3.0 Help

  • Comments 1
  • Likes

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...

 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment