PoshCode Archive  Artifact Content

Artifact 52b531b778d3b1da951c27215712feba007a6eb1e17eff99488dd01c46230e7b:

  • File Search-cmdlet-help.ps1 — part of check-in [b949b34257] at 2018-06-10 12:56:44 on branch trunk — This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. (user: unknown size: 467)

# encoding: ascii
# api: powershell
# title: Search cmdlet help
# description: This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k.
# version: 0.1
# type: function
# license: CC0
# function: Search-Help
# x-poshcode-id: 1245
# x-archived: 2009-08-02T06:57:06
#
#
function Search-Help($term) {
	Get-Command | Where { Get-Help -full -ea SilentlyContinue $_ |
	    Out-String | Select-String $term }
}