Hi All,
Please see below how to find and delete driver using Powershell .
1. Find driver using below command from powershell
Get-WmiObject Win32_PnPSignedDriver
2. You may export to a text file
Get-WmiObject Win32_PnPSignedDriver >c:\driver.txt
3. filter driver and oem
| where {$_.DeviceName -like "*NVIDIA*" -and $_.InfName -like "*oem*"}
4. Use this command to delete
$x=Get-WmiObject Win32_PnPSignedDriver | where {$_.DeviceName -like "*NVIDIA*" -and $_.InfName -like "*oem*"}
foreach($InfName in $x){
pnputil -f -d $x.InfName
}
No comments:
Post a Comment