/build/static/layout/Breadcrumb_cap_w.png

CIR to Track Windows Network Card Drivers

Here is a K1000 custom inventory rule which will allow you to track the network card driver(s) on your Windows systems with MS Powershell installed.

It is based on a script posted at http://blog.compower.org

FileExists(C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe) AND ShellCommandTextReturn(cmd /q /c powershell.exe -command "(Get-ChildItem 'REGISTRY::HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}' -ErrorAction SilentlyContinue | ForEach-Object {Get-ItemProperty $_.PSPath | Where-Object {$_.Characteristics -eq '132'} | Select DriverDesc, DriverVersion | Format-List | Out-String}) | ForEach-Object {If ($_ -match 'Driver') {$_.Trim()}}")

Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ