Notification

Icon
Error

Windows: Network adapter speed (Built-in)

Posted: Tuesday, August 8, 2017 3:20:29 PM(UTC)
Nick.VDB

Nick.VDB

Member Lansweeper Developer Administration Original PosterPosts: 251
2
Like
Added in v.6.0.100

The report below lists Windows computers and gives back their network adapter speed.

The report will only list assets that meet all of the following criteria:
  • The computer's state is set to "active".
  • The computer has been successfully scanned at least once
  • The asset is a Windows computer.

Code:

Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.Domain,
  tblAssets.Username,
  tblAssets.Userdomain,
  Coalesce(tsysOS.Image, tsysAssetTypes.AssetTypeIcon10) As icon,
  tblAssets.IPAddress,
  tsysIPLocations.IPLocation,
  tblAssetCustom.Manufacturer,
  tblAssetCustom.Model,
  tsysOS.OSname As OS,
  tblAssets.SP,
  tblAssets.Lastseen,
  tblAssets.Lasttried,
  tblNetworkAdapter.Name As NetworkAdapter,
  tblNetworkAdapter.Manufacturer As AdapterManufacturer,
  tblNetworkAdapter.MACAddress,
  tblNetworkAdapter.Speed As BitsPerSecond,
  tblNetworkAdapter.NetConnectionID As ConnectionID,
  tblNetworkAdapter.Lastchanged As LastChanged
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tblState On tblState.State = tblAssetCustom.State
  Inner Join tblNetworkAdapter On tblAssets.AssetID = tblNetworkAdapter.AssetID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
  Inner Join tsysIPLocations On tsysIPLocations.LocationID =
    tblAssets.LocationID
  Left Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblState.Statename = 'Active' And Case tblNetworkAdapter.NetEnabled
    When 0 Then 'No' When 1 Then 'Yes' End = 'Yes'
Order By tblAssets.Domain,
  tblAssets.AssetName,
  NetworkAdapter
Argon0
#1Argon0 Member Posts: 38  
posted: 4/8/2019 4:37:21 PM(UTC)
Is this really bits per second? As I have a bunch of machines telling me they are running at 10 b/s then...

I'm going to assume it Mbit/s as there is another report (not built in) from 2015 which looks very similar bar that one line:

tblNetworkAdapter.Speed As BitsPerSecond,

reads

tblNetworkAdapter.Speed As SpeedInMb

Cheers
Esben.D
#2Esben.D Member Administration Posts: 1,930  
posted: 4/23/2019 1:32:42 PM(UTC)
The database documentation reads as follows:

Quote:
Estimate of the current bandwidth in bits per second. For endpoints which vary in bandwidth or for those where no accurate estimation can be made, this property should contain the nominal bandwidth.


In this case the report seems accurate. It might be that the other report you're referring to uses the field to calculate Mbit/s or MB/s.
Argon0
#3Argon0 Member Posts: 38  
posted: 4/23/2019 2:01:01 PM(UTC)
Possibly, but both reports have the same values in the same column.

Is this report giving actual bandwidth consumption at the moment the measurement is taken (pretty useless, unless done on a regular basis, and history is kept), OR is it giving the reported speed of the adapter (I suspect the latter), in which case I am pretty sure I don't have a single PC on the network which has an adapter speed of 10 bits per second.

Thanks

Active Discussions

Lansweeper Infopath installer help
by  Dave Ward   Go to last post Go to first unread
Last post: 11/12/2019 11:16:51 AM(UTC)
Lansweeper Remote Registry 2019
by  gareauk  
Go to last post Go to first unread
Last post: 10/24/2019 7:33:06 PM(UTC)
Lansweeper Deploy
by  CyberCitizen   Go to last post Go to first unread
Last post: 10/10/2019 2:31:27 AM(UTC)
Action Backup Computer with Disk2VHD to network share
by  pryan67  
Go to last post Go to first unread
Last post: 10/7/2019 3:36:05 PM(UTC)
Lansweeper Patton SN4970
by  Randomusername   Go to last post Go to first unread
Last post: 9/27/2019 6:33:45 PM(UTC)
Action Change Windows domain PC Name
by  max204  
Go to last post Go to first unread
Last post: 9/19/2019 10:28:29 AM(UTC)
Lansweeper Launch PowerShell remote PSSession
by  Ian   Go to last post Go to first unread
Last post: 9/9/2019 12:10:56 PM(UTC)
Action Remote print management
by  CyberCitizen  
Go to last post Go to first unread
Last post: 9/4/2019 3:53:00 AM(UTC)