For the complete documentation index, see llms.txt. This page is also available as Markdown.

Find-TextInModule

Searches module files for matching text.

Property
Value

Module

OSD

Platform

WinPE (amd64 / arm64)

Description

Resolves the latest installed version of a module, searches its files for matching text, shows results in Out-GridView, and opens selected files in Visual Studio Code when available.

Syntax

Find-TextInModule [-Text] <String> [[-Module] <String>] [[-Include] <String[]>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Parameters

Parameter
Type
Required
Description

-Text

String

True

Text pattern to search for in module files.

-Module

String

False

Module name to search. The latest installed version is selected.

-Include

String[]

False

File include pattern(s) used by Get-ChildItem during the recursive search.

Examples

Example

Last updated

Was this helpful?