Search for Localized Keywords

Finding the appropriate command for a task is important. With a little trick, PowerShell can help you. Have a look:

function ??($keywords) { Get-Help * |
? { $_.description -like "*$keywords*" } |
Select-Object Name, Synopsis }

This function called "??" searches Help content for any keyword you specify. Since Help files are localized, you can happily use keywords in your own language (the language your window uses, to be exact). For example, on German systems, you could search for "Drucker" and get back everything related to "printer":

?? drucker
?? zufall

Twitter This Tip! ReTweet this Tip!


Posted Feb 23 2010, 08:00 AM by ps1
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.