‎06-11-2012 07:36 PM
Solved! Go to Solution.
‎06-12-2012 01:57 PM
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique,
tblComputersystem.Lastchanged, Web40OSName.Compimage As icon, tblADusers.Name,
tblComputers.Lastseen, tblComputers.Firstseen, tblComputersystem.Model
From tblComputersystem Inner Join
tblComputers On tblComputersystem.Computername = tblComputers.Computername
Inner Join
Web40OSName On Web40OSName.Computername = tblComputers.Computername Inner Join
tblOperatingsystem On tblComputers.Computername =
tblOperatingsystem.Computername Inner Join
tblADusers On tblADusers.Username = tblComputers.Username Inner Join
tblCompCustom On tblComputers.Computername = tblCompCustom.Computername
Where tblComputers.ComputerUnique Like '%l__-%' And
tblComputers.ComputerUnique Not Like '%medv%' And
tblComputersystem.Domainrole < '2' And tblCompCustom.State = 2
Order By dbo.tblComputers.Computer
‎06-12-2012 11:24 PM
‎06-12-2012 01:57 PM
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique,
tblComputersystem.Lastchanged, Web40OSName.Compimage As icon, tblADusers.Name,
tblComputers.Lastseen, tblComputers.Firstseen, tblComputersystem.Model
From tblComputersystem Inner Join
tblComputers On tblComputersystem.Computername = tblComputers.Computername
Inner Join
Web40OSName On Web40OSName.Computername = tblComputers.Computername Inner Join
tblOperatingsystem On tblComputers.Computername =
tblOperatingsystem.Computername Inner Join
tblADusers On tblADusers.Username = tblComputers.Username Inner Join
tblCompCustom On tblComputers.Computername = tblCompCustom.Computername
Where tblComputers.ComputerUnique Like '%l__-%' And
tblComputers.ComputerUnique Not Like '%medv%' And
tblComputersystem.Domainrole < '2' And tblCompCustom.State = 2
Order By dbo.tblComputers.Computer
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now