cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
willardbrooks
Engaged Sweeper

Good Afternoon friends, I need to find the MAC address of all the assets labeled terminal in my Lansweeper. Id like to run a report, but I cant figure out what im doing wrong. Does someone have a script I can steal? thanks! 

1 REPLY 1
Mister_Nobody
Honored Sweeper II

Try this:

Select Top 1000000 tblassets.AssetID,
  tblassets.AssetName,
  tsysassettypes.AssetTypename,
  tsysassettypes.AssetTypeIcon10 As icon,
  tblassets.IPAddress,
  tblassets.Lastseen,
  tblassets.Lasttried,
  tblassets.Mac
From tblassets
  Inner Join tblassetcustom On tblassets.AssetID = tblassetcustom.AssetID
  Inner Join tsysassettypes On tsysassettypes.AssetType = tblassets.Assettype
Where tsysassettypes.AssetType = 25 And tblassetcustom.State = 1