03-03-2023 11:53 PM
$oemfiles = gci $ENV:windir\inf\oem*.inf
foreach($file in $oemfiles)
{
if (get-content $file | select-string -pattern 'e2f' -SimpleMatch)
{
.\devcon.exe dp_delete $file.name
}
elseif (get-content $file | select-string -pattern 'e2f68' -SimpleMatch)
{
.\devcon.exe dp_delete $file.name
}
}
find /i "CatalogFile = e2f.cat" C:\Windows\inf\%_OEMFILE%
$oemfiles = gci $ENV:windir\inf\oem*.inf
foreach($file in $oemfiles)
{
if (get-content $file | select-string -pattern 'CatalogFile\s*=\s*e2f(68|n)?.cat')
{
.\devcon.exe dp_delete $file.name
}
}
Get-WindowsDriver -Online -All | Where-Object {
$_.Driver -Like 'oem*' -and
$_.OriginalFileName -match '\\e2f(68|n)?\.inf$' -and
$_.ClassName -eq 'Net' -and
$_.ProviderName -eq 'Intel'
}
03-06-2023 05:03 PM
03-06-2023 08:57 PM
$oemfiles = gci $ENV:windir\inf\oem*.inf
$drivers = @();
foreach ($file in $oemfiles) {
if ($str = (Get-Content $file | Select-String -Pattern 'e2f' -SimpleMatch)) {
$drivers += $file
}
}
$drivers
Get-WindowsDriver -Online -All | Where-Object Driver -In $drivers.name
PS C:\WINDOWS\system32> C:\Users\Murph\OneDrive\Documents\deloeminf-demo.ps1
Directory: C:\WINDOWS\inf
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 06/10/2022 05:12 391808 oem102.inf
-a---- 06/10/2022 05:12 27926 oem103.inf
-a---- 21/12/2022 02:01 766012 oem108.inf
-a---- 24/01/2023 09:58 929205 oem110.inf
-a---- 24/01/2023 09:58 26963 oem111.inf
-a---- 24/01/2023 09:58 12018 oem112.inf
-a---- 24/01/2023 20:52 30150 oem115.inf
-a---- 12/10/2022 20:12 460292 oem118.inf
-a---- 16/02/2023 14:28 400022 oem12.inf
-a---- 12/10/2022 20:12 548758 oem120.inf
-a---- 06/10/2022 05:12 12865 oem17.inf
-a---- 23/02/2023 20:57 577390 oem19.inf
-a---- 06/10/2022 05:12 394895 oem20.inf
-a---- 06/10/2022 05:12 2885 oem31.inf
-a---- 21/12/2022 06:15 104375 oem5.inf
-a---- 06/10/2022 05:12 1612 oem51.inf
-a---- 06/10/2022 05:12 1673 oem58.inf
-a---- 06/10/2022 05:12 22640 oem6.inf
-a---- 06/10/2022 05:12 23570 oem61.inf
-a---- 06/10/2022 05:12 85939 oem65.inf
-a---- 06/10/2022 05:12 11696 oem71.inf
-a---- 04/03/2023 06:28 104375 oem74.inf
-a---- 06/10/2022 05:12 663240 oem78.inf
-a---- 21/01/2023 17:14 12910 oem86.inf
-a---- 21/12/2022 02:01 396390 oem88.inf
-a---- 06/10/2022 05:12 12910 oem93.inf
Driver : oem102.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw6e.inf_amd64_4f9649e16912146d\netwtw
6e.inf
InBox : False
CatalogFile : Netwtw6e.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 14/08/2022 00:00:00
Version : 22.150.0.4
Driver : oem103.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\realtekservice.inf_amd64_7f98f584c61c8c61\
realtekservice.inf
InBox : False
CatalogFile : RealtekService.cat
ClassName : SoftwareComponent
ClassGuid : {5C4C3332-344D-483C-8739-259E934C9CC8}
ClassDescription : Software components
BootCritical : False
DriverSignature : Signed
ProviderName : Realtek
Date : 09/11/2021 00:00:00
Version : 1.0.0.454
Driver : oem108.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw08.inf_amd64_52ea7835e4a6695c\netwtw
08.inf
InBox : False
CatalogFile : Netwtw08.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 23/11/2022 00:00:00
Version : 22.190.0.4
Driver : oem110.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\dtsapo4ultraasusextensionpkg.inf_amd64_614
25c16845244f5\dtsapo4ultraasusextensionpkg.inf
InBox : False
CatalogFile : dtsapo4ultraAsusextensionpkg.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : DTS
Date : 17/08/2022 00:00:00
Version : 1.11.6.0
Driver : oem111.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\avolutess3ext.inf_amd64_0876889bd9814307\a
volutess3ext.inf
InBox : False
CatalogFile : AVoluteSS3Ext.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : A-Volute
Date : 13/07/2022 00:00:00
Version : 1.3.18.0
Driver : oem112.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\extrtxusb_asus_avo_rtk.inf_amd64_6aae0fd7e
ac43a04\extrtxusb_asus_avo_rtk.inf
InBox : False
CatalogFile : ExtRtXUsb.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : Realtek
Date : 18/08/2022 00:00:00
Version : 1.0.0.66
Driver : oem115.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\realtekservice.inf_amd64_4c10eeff886a3252\
realtekservice.inf
InBox : False
CatalogFile : RealtekService.cat
ClassName : SoftwareComponent
ClassGuid : {5C4C3332-344D-483C-8739-259E934C9CC8}
ClassDescription : Software components
BootCritical : False
DriverSignature : Signed
ProviderName : Realtek
Date : 13/09/2022 00:00:00
Version : 1.0.560.0
Driver : oem118.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw06.inf_amd64_10dbb026a21af87e\netwtw
06.inf
InBox : False
CatalogFile : Netwtw06.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 24/07/2022 00:00:00
Version : 20.70.32.1
Driver : oem12.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw6e.inf_amd64_ddded575f3a87757\netwtw
6e.inf
InBox : False
CatalogFile : Netwtw6e.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 17/01/2023 00:00:00
Version : 22.200.0.6
Driver : oem120.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw04.inf_amd64_e7569a918759c434\netwtw
04.inf
InBox : False
CatalogFile : Netwtw04.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 02/08/2022 00:00:00
Version : 19.51.42.2
Driver : oem17.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\newtek_audioportclass_multi.inf_amd64_abc4
1265aff31624\newtek_audioportclass_multi.inf
InBox : False
CatalogFile : NewTek_AudioPortClass_Multi.cat
ClassName : Media
ClassGuid : {4D36E96C-E325-11CE-BFC1-08002BE10318}
ClassDescription : Sound, video and game controllers
BootCritical : False
DriverSignature : Signed
ProviderName : NewTek Partners LLP
Date : 04/06/2022 00:00:00
Version : 1.0.2.14
Driver : oem19.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\u0388646.inf_amd64_cec79a959dad0433\u03886
46.inf
InBox : False
CatalogFile : U0388646.CAT
ClassName : Display
ClassGuid : {4D36E968-E325-11CE-BFC1-08002BE10318}
ClassDescription : Display adaptors
BootCritical : False
DriverSignature : Signed
ProviderName : Advanced Micro Devices, Inc.
Date : 17/02/2023 00:00:00
Version : 31.0.14033.1012
Driver : oem20.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\dtsapo4ultraasusextensionpkg.inf_amd64_96a
d9d48092ca7d8\dtsapo4ultraasusextensionpkg.inf
InBox : False
CatalogFile : dtsapo4ultraAsusextensionpkg.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : DTS
Date : 08/06/2021 00:00:00
Version : 1.6.102.0
Driver : oem31.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\tbthostcontrollerextension.inf_amd64_ce999
21fed6ac464\tbthostcontrollerextension.inf
InBox : False
CatalogFile : TbtHostControllerExtension.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : Intel(R) Corporation
Date : 13/07/2021 00:00:00
Version : 1.41.1193.0
Driver : oem5.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\e2fn.inf_amd64_19533fa54e0d0ffb\e2fn.inf
InBox : False
CatalogFile : e2fn.cat
ClassName : Net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 21/09/2022 00:00:00
Version : 2.1.2.3
Driver : oem51.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\asusproart.inf_amd64_2f1dd0c6c0314622\asus
proart.inf
InBox : False
CatalogFile : asusproart.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : ASUSTek Computer Inc.
Date : 31/03/2020 00:00:00
Version : 1.0.6.0
Driver : oem58.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\amdpcibridgeextension.inf_amd64_2b0b2bac86
a4cd1d\amdpcibridgeextension.inf
InBox : False
CatalogFile : amdpcibridgeextension.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : AMD
Date : 28/06/2021 00:00:00
Version : 21.30.0.0
Driver : oem6.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\avolutess3ext.inf_amd64_19a80459690baf67\a
volutess3ext.inf
InBox : False
CatalogFile : AVoluteSS3Ext.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : A-Volute
Date : 08/10/2021 00:00:00
Version : 1.3.15.0
Driver : oem61.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\extrtxusb_asus_avo_rtk.inf_amd64_9ea88b22f
0c8a3d8\extrtxusb_asus_avo_rtk.inf
InBox : False
CatalogFile : ExtRtXUsb.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : Realtek
Date : 11/11/2021 00:00:00
Version : 1.0.0.54
Driver : oem65.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\atihdwt6.inf_amd64_e93648882ce41c80\atihdw
t6.inf
InBox : False
CatalogFile : AtihdWT6.cat
ClassName : MEDIA
ClassGuid : {4D36E96C-E325-11CE-BFC1-08002BE10318}
ClassDescription : Sound, video and game controllers
BootCritical : False
DriverSignature : Signed
ProviderName : Advanced Micro Devices
Date : 08/06/2022 00:00:00
Version : 10.0.1.24
Driver : oem71.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\pieextension.inf_amd64_fb20b53884701e14\pi
eextension.inf
InBox : False
CatalogFile : PieExtension.cat
ClassName : Extension
ClassGuid : {E2F84CE7-8EFA-411C-AA69-97454CA4CB57}
ClassDescription : Extensions
BootCritical : False
DriverSignature : Signed
ProviderName : Intel Corporation
Date : 19/07/2021 00:00:00
Version : 22.1070.2.1
Driver : oem74.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\e2fn.inf_amd64_d9445744f52b5b9b\e2fn.inf
InBox : False
CatalogFile : e2fn.cat
ClassName : Net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 09/02/2023 00:00:00
Version : 2.1.3.3
Driver : oem78.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw08.inf_amd64_4ade3151b23d11d0\netwtw
08.inf
InBox : False
CatalogFile : Netwtw08.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 24/05/2022 00:00:00
Version : 22.150.0.3
Driver : oem86.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\avolutess3vad.inf_amd64_a869f777f74fb408\a
volutess3vad.inf
InBox : False
CatalogFile : AVoluteSS3Vad.cat
ClassName : MEDIA
ClassGuid : {4D36E96C-E325-11CE-BFC1-08002BE10318}
ClassDescription : Sound, video and game controllers
BootCritical : False
DriverSignature : Signed
ProviderName : Nahimic
Date : 07/06/2022 00:00:00
Version : 1.0.3.0
Driver : oem88.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\netwtw6e.inf_amd64_4d2bf8e0a2f591ce\netwtw
6e.inf
InBox : False
CatalogFile : Netwtw6e.cat
ClassName : net
ClassGuid : {4D36E972-E325-11CE-BFC1-08002BE10318}
ClassDescription : Network adapters
BootCritical : False
DriverSignature : Signed
ProviderName : Intel
Date : 23/11/2022 00:00:00
Version : 22.190.0.4
Driver : oem93.inf
OriginalFileName : C:\Windows\System32\DriverStore\FileRepository\avolutess3vad.inf_amd64_79cd9525c9a5e12a\a
volutess3vad.inf
InBox : False
CatalogFile : AVoluteSS3Vad.cat
ClassName : MEDIA
ClassGuid : {4D36E96C-E325-11CE-BFC1-08002BE10318}
ClassDescription : Sound, video and game controllers
BootCritical : False
DriverSignature : Signed
ProviderName : Nahimic
Date : 14/10/2021 00:00:00
Version : 1.0.2.0
PS C:\WINDOWS\system32>
03-07-2023 05:24 AM
03-07-2023 09:24 AM
03-12-2023 08:06 PM
03-13-2023 05:30 AM
$oemfiles = gci $ENV:windir\inf\oem*.inf
foreach($file in $oemfiles)
{
if (get-content $file | select-string -pattern 'e2f' -SimpleMatch)
{
.\devcon.exe dp_delete $file.name
}
elseif (get-content $file | select-string -pattern 'e2f68' -SimpleMatch)
{
.\devcon.exe dp_delete $file.name
}
}
$oemfiles = gci $ENV:windir\inf\oem*.inf
foreach ($file in $oemfiles)
{
if (get-content $file | select-string -pattern 'CatalogFile\s*=\s*e2f(68|n)?.cat')
{
.\devcon.exe dp_delete $file.name
}
}
03-13-2023 11:19 PM