I am trying to get a complete list of mac addresses of assets on the network so that we can implement a whitelist inside our network. I have looking around and trying different items in the report builder but ive only been able to get a list of PC MAC addresses (BUT its not a complete list of PC MAC addresses).
This is what im currently using:
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblNetwork.MACaddress,
tblNetwork.Description
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssetCustom.State = 1 And tblNetwork.IPEnabled = 1
Order By tblAssets.AssetName
When I go onto an asset which hasnt appeared in this list, I can see if i go to config - > network that there is a MAC address for the asset but its not included in the list.
What Im trying to achieve is a report which will tell me the asset name, the mac address, and what the adaptor is (aka to see if they are virtual ports). Theres alot to tables to go through and when I add another table in to get a bit more information the results seemed to get messed up.
Can someone help/point me in the right direction?