08-23-2012 01:23 PM
Solved! Go to Solution.
08-23-2012 03:24 PM
Select Top 1000000 Web40OSName.Compimage As icon, tblComputers.Computername,
tblComputers.Domain, tblComputers.Computer, tblComputers.Firstseen,
tblComputers.Lastseen, SoftwareAndOS.Type, SoftwareAndOS.Name,
SoftwareAndOS.Version, SoftwareAndOS.Publisher
From tblComputers Inner Join
web40ActiveComputers On tblComputers.Computername =
web40ActiveComputers.Computername Left Join
Web40OSName On Web40OSName.Computername = tblComputers.Computername Left Join
(Select tblSoftware.ComputerName, 'Software' As Type, tblSoftware.softwareName
As Name, tblSoftware.softwareVersion As Version,
tblSoftware.SoftwarePublisher As Publisher
From tblSoftware
Union
Select Web40OSName.Computername, 'OS' As Type, Web40OSName.OSname As Name,
Web40OSName.OScode As Version, Case Web40OSName.OSname
When 'Not scanned' Then 'Not scanned' Else 'Microsoft Corporation'
End As Publisher
From Web40OSName) SoftwareAndOS On SoftwareAndOS.ComputerName =
tblComputers.Computername
Order By tblComputers.ComputerUnique, SoftwareAndOS.Type, SoftwareAndOS.Name,
SoftwareAndOS.Version
08-23-2012 03:41 PM
08-23-2012 03:24 PM
Select Top 1000000 Web40OSName.Compimage As icon, tblComputers.Computername,
tblComputers.Domain, tblComputers.Computer, tblComputers.Firstseen,
tblComputers.Lastseen, SoftwareAndOS.Type, SoftwareAndOS.Name,
SoftwareAndOS.Version, SoftwareAndOS.Publisher
From tblComputers Inner Join
web40ActiveComputers On tblComputers.Computername =
web40ActiveComputers.Computername Left Join
Web40OSName On Web40OSName.Computername = tblComputers.Computername Left Join
(Select tblSoftware.ComputerName, 'Software' As Type, tblSoftware.softwareName
As Name, tblSoftware.softwareVersion As Version,
tblSoftware.SoftwarePublisher As Publisher
From tblSoftware
Union
Select Web40OSName.Computername, 'OS' As Type, Web40OSName.OSname As Name,
Web40OSName.OScode As Version, Case Web40OSName.OSname
When 'Not scanned' Then 'Not scanned' Else 'Microsoft Corporation'
End As Publisher
From Web40OSName) SoftwareAndOS On SoftwareAndOS.ComputerName =
tblComputers.Computername
Order By tblComputers.ComputerUnique, SoftwareAndOS.Type, SoftwareAndOS.Name,
SoftwareAndOS.Version
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now