‎12-17-2012 05:14 PM
‎12-20-2012 02:09 PM
Select Distinct Top 1000000 tblComputers.Computername,
tblComputers.ComputerUnique, tblComputers.Domain, tblComputers.Computer,
Web40OSName.OSname As OS, tblOperatingsystem.Description,
Duplicates.MACaddress, Duplicates.Total, tblComputers.Lastseen,
Web40OSName.Compimage As icon
From tblComputers Inner Join
web40ActiveComputers On web40ActiveComputers.Computername =
tblComputers.Computername Inner Join
tblOperatingsystem On tblComputers.Computername =
tblOperatingsystem.Computername Inner Join
Web40OSName On Web40OSName.Computername = tblComputers.Computername Inner Join
tblNetwork On tblComputers.Computername = tblNetwork.Computername Inner Join
(Select Top 1000000 tblNetwork.MACaddress, Count(Distinct
tblNetwork.Computername) As Total
From tblComputers Inner Join
web40ActiveComputers On web40ActiveComputers.Computername =
tblComputers.Computername Inner Join
tblNetwork On tblComputers.Computername = tblNetwork.Computername
Where tblNetwork.IPEnabled = 1
Group By tblNetwork.MACaddress
Having (tblNetwork.MACaddress <> '' And tblNetwork.MACaddress <>
'50:50:54:50:30:30' And tblNetwork.MACaddress <> '33:50:6F:45:30:30') And
Count(Distinct tblNetwork.Computername) > 1) Duplicates On
tblNetwork.MACaddress = Duplicates.MACaddress
Order By Duplicates.Total Desc, Duplicates.MACaddress, tblComputers.Computer
‎12-20-2012 10:11 AM
‎12-19-2012 08:33 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now