cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Rboynton
Engaged Sweeper
Is anything captured in the SQL database which shows the current network connection speed of the scanned system? If so, what table is it stored in?
2 REPLIES 2
joegasper
Engaged Sweeper
Maybe this will help get NIC speeds into Lansweeper:

http://myitforum.com/cs2/blogs/clebermarques/archive/2010/08/18/sccm-2007-nic-speed-report.aspx

or this:

On Error Resume Next

Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20

arrComputers = Array(".")
For Each strComputer In arrComputers
WScript.Echo
WScript.Echo "=========================================="
WScript.Echo "Computer: " & strComputer
WScript.Echo "=========================================="

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
Set colItems = objWMIService.ExecQuery("SELECT * FROM MSNdis_LinkSpeed", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)

For Each objItem In colItems
WScript.Echo "Active: " & objItem.Active
WScript.Echo "InstanceName: " & objItem.InstanceName
WScript.Echo "NdisLinkSpeed: " & objItem.NdisLinkSpeed
WScript.Echo
Next
Next
Hemoco
Lansweeper Alumni
Sorry, No, this is not captured.