| external help file | OSD-help.xml |
|---|---|
| Module Name | OSD |
| online version | https://github.com/OSDeploy/OSD/tree/master/docs |
| schema | 2.0.0 |
Searches module files for matching text.
Find-TextInModule [-Text] <String> [[-Module] <String>] [[-Include] <String[]>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
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.
Find-TextInModule -Text Save-WebFile -Module OSD -Include *.ps1
Searches PowerShell files in the latest installed OSD module for Save-WebFile.
Text pattern to search for in module files.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseModule name to search. The latest installed version is selected.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: OSD
Accept pipeline input: False
Accept wildcard characters: FalseFile include pattern(s) used by Get-ChildItem during the recursive search.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: *.*
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: David Segura - Recast Software 2026-07-11 - Added comment-based help