< Back
Search-OSDriverContent
Post
NAME Search-OSDriverContent
SYNOPSIS
Searches in INF files for a text string
SYNTAX
Search-OSDriverContent [-Path] <String> [[-Files] <String[]>] [[-Content] <String>] [<CommonParameters>]
DESCRIPTION
Searches in INF files for a text string
PARAMETERS
-Path <String>
Directory to search for INF files
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Files <String[]>
Files to Include. Default is *.inf
Required? false
Position? 2
Default value *.inf
Accept pipeline input? false
Accept wildcard characters? false
-Content <String>
Text string to search
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
NAME: Search-OSDriverContent.ps1
AUTHOR: David Segura, david@segura.org
BLOG: http://www.osdeploy.com
CREATED: 02/18/2018
VERSION: 1.1.0.2
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Search-OSDriverContent -Path C:\\DeploymentShare\\OSDrivers -Content "VEN_8086&DEV_1902"
Searches in all INF files for "VEN_8086&DEV_1902". Results in Gridview
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Search-OSDriverContent -Path C:\\DeploymentShare\\OSDrivers -Files *.txt -Content "VEN_8086&DEV_1902"
Searches in all TXT files for "VEN_8086&DEV_1902". Results in Gridview
RELATED LINKS
https://www.osdeploy.com/psmodule/osdrivers/
SYNOPSIS
Searches in INF files for a text string
SYNTAX
Search-OSDriverContent [-Path] <String> [[-Files] <String[]>] [[-Content] <String>] [<CommonParameters>]
DESCRIPTION
Searches in INF files for a text string
PARAMETERS
-Path <String>
Directory to search for INF files
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Files <String[]>
Files to Include. Default is *.inf
Required? false
Position? 2
Default value *.inf
Accept pipeline input? false
Accept wildcard characters? false
-Content <String>
Text string to search
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
NAME: Search-OSDriverContent.ps1
AUTHOR: David Segura, david@segura.org
BLOG: http://www.osdeploy.com
CREATED: 02/18/2018
VERSION: 1.1.0.2
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Search-OSDriverContent -Path C:\\DeploymentShare\\OSDrivers -Content "VEN_8086&DEV_1902"
Searches in all INF files for "VEN_8086&DEV_1902". Results in Gridview
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Search-OSDriverContent -Path C:\\DeploymentShare\\OSDrivers -Files *.txt -Content "VEN_8086&DEV_1902"
Searches in all TXT files for "VEN_8086&DEV_1902". Results in Gridview
RELATED LINKS
https://www.osdeploy.com/psmodule/osdrivers/