09-13-2012 08:55 PM
09-14-2012 06:32 PM
09-14-2012 04:45 PM
09-14-2012 05:35 PM
djmoore250 wrote:
I do have a few more questions though. Is it possible to make the OU field selectable at the time the report runs?
djmoore250 wrote:
Is there a report that will show all computers and devices in a specified subnet.
i.e. Subnet 10.10.10.1 - 10.10.10.254 with the output of: Name, IP address, Make, Model, OS
Select Top 1000000 ComputersDevices.icon, ComputersDevices.computername, ComputersDevices.Name As Sysname, ComputersDevices.Domain, ComputersDevices.IP, ComputersDevices.Make, ComputersDevices.Model, ComputersDevices.Type From (Select Web40OSName.Compimage As icon, Cast(tblComputers.Computername As varchar) As computername, tblComputers.Computer As Name, tblComputers.Domain, tblComputers.LastknownIP As IP, Web40OSName.OSname As Type, tblComputersystem.Manufacturer As Make, tblComputersystem.Model As Model, tblComputers.IPNumeric As IPNumeric From tblComputers Left Join Web40OSName On Web40OSName.Computername = tblComputers.Computername Inner Join tblComputersystem On tblComputers.Computername = tblComputersystem.Computername Union Select tsysDevicetypes.ItemTypeIcon10 As icon, tblCustDevices.DeviceKey As computername, tblCustDevices.Displayname As Name, '' As Domain, tblCustDevices.Ipaddress As IP, tsysDevicetypes.ItemTypename As Type, tblCustDevices.Vendor As Make, tblCustDevices.Model As Model, tblCustDevices.IPNumeric As IPNumeric From tblCustDevices Inner Join tsysDevicetypes On tsysDevicetypes.ItemType = tblCustDevices.Devicetype) ComputersDevices Where ComputersDevices.IPNumeric > 10010010001 And ComputersDevices.IPNumeric < 10010010254
09-14-2012 12:16 PM
Select Top 1000000 Web40OSName.Compimage As icon, tblComputers.Computername, tblComputers.Computer, tblComputers.Domain, tblComputers.Description, Web40OSName.OSname As OS, Web40OSName.SP, web40ProcessorCapacity.NrOfProcessors As [Proc], web40ProcessorCapacity.MaxClockSpeed As Speed, web40CorrectMemory.Memory, tblComputers.LastknownIP As IP, tblComputersystem.Manufacturer, tblComputersystem.Model, tblComputers.Lastseen From tblComputers Inner Join Web40OSName On Web40OSName.Computername = tblComputers.Computername Left Join web40ProcessorCapacity On web40ProcessorCapacity.Computername = tblComputers.Computername Left Join web40CorrectMemory On web40CorrectMemory.Computername = tblComputers.Computername Inner Join tblComputersystem On tblComputers.Computername = tblComputersystem.Computername Inner Join tblADComputers On tblComputers.Computername = tblADComputers.Computername Where tblADComputers.OU = 'YourOU' Order By tblComputers.ComputerUnique
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now