< Back

Find-OSDriverByType

Sat Jan 18, 2020 6:14 pm

NAME Find-OSDriverByType



SYNOPSIS

Finds specified file types, estimates size, option to remove Parent directory





SYNTAX

Find-OSDriverByType [-Path] <String> [-Type] <String> [-RemoveSelected] [<CommonParameters>]





DESCRIPTION

Finds specified file types, estimates size, option to remove Parent directory





PARAMETERS

-Path <String>

Directory to search for INF files. This should be your Driver Repository



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <String>

Select Drivers by Type



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RemoveSelected [<SwitchParameter>]

Removes the directory containing the file



Required? false

Position? named

Default value False

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: Find-OSDriverByType.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:\\>Find-OSDriverByType -Type "Intel Wireless" -Path C:\\OSDrivers\\Intel



Finds directories containing Intel Wireless Drivers









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Find-OSDriverByType -Type "Intel Wireless" -Path C:\\OSDrivers\\Intel -RemoveSelected



Finds directories containing Intel Wireless Drivers. Removes Parent directory of selected files











RELATED LINKS

https://www.osdeploy.com/psmodule/osdrivers/