How do I do a search based upon the type of NIC drivers installed? Or any other kind of drivers?
Trying to create a list of computers based upon the type of NIC is installed on computer. Can't find anything in the built in parameters. I'd assume I would need to create a custom inventory, but how do I with drivers?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
SMal.tmcc
9 years ago
you can use wmic to query the nic. there are many options like(AdapterType AdapterTypeId AutoSense Availability Caption ConfigManagerErrorCode ConfigManagerUserConfig CreationClassName Description DeviceID ErrorCleared ErrorDescription GUID Index InstallDate Installed InterfaceIndex LastErrorCode MACAddress Manufacturer MaxNumberControlled MaxSpeed Name NetConnectionID NetConnectionStatus NetEnabled NetworkAddresses PermanentAddress PhysicalAdapter PNPDeviceID PowerManagementCapabilities PowerManagementSupported ProductName ServiceName Speed Status StatusInfo SystemCreationClassName SystemName TimeOfLastReset )
be somethings like wmic nic where "netconnectionstatus='2'" get name,adaptertype
As a CIR
ShellCommandTextReturn(cmd /c c:\windows\system32\wbem\WMIC.exe nic where "netconnectionstatus='2'" get name,adaptertype)
I use this one to read the memory chip info.
ShellCommandTextReturn(cmd /c c:\windows\system32\wbem\WMIC.exe memorychip get devicelocator,manufacturer,partnumber)
be somethings like wmic nic where "netconnectionstatus='2'" get name,adaptertype
As a CIR
ShellCommandTextReturn(cmd /c c:\windows\system32\wbem\WMIC.exe nic where "netconnectionstatus='2'" get name,adaptertype)
I use this one to read the memory chip info.
ShellCommandTextReturn(cmd /c c:\windows\system32\wbem\WMIC.exe memorychip get devicelocator,manufacturer,partnumber)
Posted by:
chucksteel
9 years ago