→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎07-11-2011 06:20 PM
Select Distinct Top 1000000 co1.Computername, co1.Computer, co1.Username, cs1.Manufacturer, cs1.Model, csp1.IdentifyingNumber As [Serial Number], cpu.Name As [Processor Model], cpu.MaxClockSpeed As [CPU (MHz)], cs1.NumberOfProcessors As Cores, os1.TotalVisibleMemorySize / 1024 As [Memory (MB)], os1.Caption As [Operating System], os1.CSDVersion As [Service Pack], co1.LastknownIP As [IP Address], co1.Lastseen As [Last Seen] From tblComputers co1 Left Outer Join tblOperatingSystem os1 On (co1.Computername = os1.Computername) Left Outer Join tblComputerSystemProduct csp1 On (co1.Computername = csp1.Computername) Left Outer Join tblComputerSystem cs1 On (co1.Computername = cs1.Computername) Left Outer Join tblDisplayControllerConfiguration dcc On (co1.Computername = dcc.Computername) Left Outer Join tblProcessor cpu On (co1.Computername = cpu.Computername) Left Outer Join tblDiskDrives dsk On (co1.Computername = dsk.Computername) Inner Join tblNetwork On co1.Computername = tblNetwork.Computername Where dsk.Caption Like 'C:' And dsk.Description Like '%fixed disk%' And tblNetwork.DefaultIPGateway = '10.70.1.254' Or tblNetwork.DefaultIPGateway = '10.71.1.254'
Solved! Go to Solution.
‎07-18-2011 12:13 PM
Select Distinct Top 1000000 co1.Computername, co1.Computer, co1.Username, cs1.Manufacturer, cs1.Model, csp1.IdentifyingNumber As [Serial Number], cpu.Name As [Processor Model], cpu.MaxClockSpeed As [CPU (MHz)], cs1.NumberOfProcessors As Cores, os1.TotalVisibleMemorySize / 1024 As [Memory (MB)], os1.Caption As [Operating System], os1.CSDVersion As [Service Pack], co1.LastknownIP As [IP Address], co1.Lastseen As [Last Seen] From tblComputers co1 Left Outer Join tblOperatingSystem os1 On (co1.Computername = os1.Computername) Left Outer Join tblComputerSystemProduct csp1 On (co1.Computername = csp1.Computername) Left Outer Join tblComputerSystem cs1 On (co1.Computername = cs1.Computername) Left Outer Join tblDisplayControllerConfiguration dcc On (co1.Computername = dcc.Computername) Left Outer Join tblProcessor cpu On (co1.Computername = cpu.Computername) Left Outer Join tblDiskDrives dsk On (co1.Computername = dsk.Computername) Inner Join tblNetwork On co1.Computername = tblNetwork.Computername Where dsk.Caption Like 'C:' And dsk.Description Like '%fixed disk%' And tblNetwork.DefaultIPGateway like '10.70.%.254' Or tblNetwork.DefaultIPGateway like '10.71.%.254'
‎01-04-2018 12:02 PM
‎01-03-2018 12:33 PM
‎07-18-2011 12:13 PM
Select Distinct Top 1000000 co1.Computername, co1.Computer, co1.Username, cs1.Manufacturer, cs1.Model, csp1.IdentifyingNumber As [Serial Number], cpu.Name As [Processor Model], cpu.MaxClockSpeed As [CPU (MHz)], cs1.NumberOfProcessors As Cores, os1.TotalVisibleMemorySize / 1024 As [Memory (MB)], os1.Caption As [Operating System], os1.CSDVersion As [Service Pack], co1.LastknownIP As [IP Address], co1.Lastseen As [Last Seen] From tblComputers co1 Left Outer Join tblOperatingSystem os1 On (co1.Computername = os1.Computername) Left Outer Join tblComputerSystemProduct csp1 On (co1.Computername = csp1.Computername) Left Outer Join tblComputerSystem cs1 On (co1.Computername = cs1.Computername) Left Outer Join tblDisplayControllerConfiguration dcc On (co1.Computername = dcc.Computername) Left Outer Join tblProcessor cpu On (co1.Computername = cpu.Computername) Left Outer Join tblDiskDrives dsk On (co1.Computername = dsk.Computername) Inner Join tblNetwork On co1.Computername = tblNetwork.Computername Where dsk.Caption Like 'C:' And dsk.Description Like '%fixed disk%' And tblNetwork.DefaultIPGateway like '10.70.%.254' Or tblNetwork.DefaultIPGateway like '10.71.%.254'
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now