November 19th, 2015

PowerTip: Use PowerShell to Identify Network Drivers in Configuration Manager

Doctor Scripto
Scripter

Summary: Use the Configuration Manager cmdlets in Windows PowerShell to identify all network drivers.

Hey, Scripting Guy! Question I deal with drivers detection issues in Windows PE because we have too many network card drivers.
           How can I use Windows PowerShell to quickly show all of the network drivers in Configuration Manager?

Hey, Scripting Guy! Answer Use the Get-CmDriver cmdlet and filter on the DriverClass property, for example:

$DriverClass=’Net’

Get-CmDriver | Where { $_.DriverClass –match $DriverClass }

You can pipe this object to Select-Object to choose the information most relevant to you.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.