04-17-2014 05:59 PM
Solved! Go to Solution.
04-18-2014 12:39 PM
Select Top 1000000 upgrade_tblComputers.Computername,
upgrade_tblComputers.ComputerUnique,
upgrade_tblComputers.Domain,
upgrade_Web40OSName.OSname,
upgrade_tblComputers.Lastseen,
upgrade_tblOperatingsystem.ProductType,
upgrade_tblOperatingsystem.Version,
upgrade_tblComputers.LastknownIP,
upgrade_tblComputers.Username,
tblAssetcustom.Serialnumber
From upgrade_tblOperatingsystem
Inner Join upgrade_tblComputers On upgrade_tblOperatingsystem.Computername =
upgrade_tblComputers.Computername
Inner Join upgrade_web40ActiveComputers On upgrade_tblComputers.Computername =
upgrade_web40ActiveComputers.Computername
Inner Join upgrade_Web40OSName On upgrade_Web40OSName.Computername =
upgrade_tblComputers.Computername
Inner Join upgrade_tblADComputers On upgrade_tblComputers.Computername =
upgrade_tblADComputers.Computername
Inner Join tblAssetcustom on tblAssetcustom.assetid = upgrade_tblComputers.Computername
Where upgrade_Web40OSName.OSname Not Like 'Win 7' And
upgrade_Web40OSName.OSname Not Like 'Win 2003' And
upgrade_Web40OSName.OSname Not Like 'Win 2003 R2' And
upgrade_Web40OSName.OSname Not Like '%2008%' And
upgrade_Web40OSName.OSname Not Like '%2012%' And
upgrade_Web40OSName.OSname Not Like '%Win 8%'
Order By upgrade_tblComputers.Computer
04-22-2014 12:32 PM
04-18-2014 12:39 PM
Select Top 1000000 upgrade_tblComputers.Computername,
upgrade_tblComputers.ComputerUnique,
upgrade_tblComputers.Domain,
upgrade_Web40OSName.OSname,
upgrade_tblComputers.Lastseen,
upgrade_tblOperatingsystem.ProductType,
upgrade_tblOperatingsystem.Version,
upgrade_tblComputers.LastknownIP,
upgrade_tblComputers.Username,
tblAssetcustom.Serialnumber
From upgrade_tblOperatingsystem
Inner Join upgrade_tblComputers On upgrade_tblOperatingsystem.Computername =
upgrade_tblComputers.Computername
Inner Join upgrade_web40ActiveComputers On upgrade_tblComputers.Computername =
upgrade_web40ActiveComputers.Computername
Inner Join upgrade_Web40OSName On upgrade_Web40OSName.Computername =
upgrade_tblComputers.Computername
Inner Join upgrade_tblADComputers On upgrade_tblComputers.Computername =
upgrade_tblADComputers.Computername
Inner Join tblAssetcustom on tblAssetcustom.assetid = upgrade_tblComputers.Computername
Where upgrade_Web40OSName.OSname Not Like 'Win 7' And
upgrade_Web40OSName.OSname Not Like 'Win 2003' And
upgrade_Web40OSName.OSname Not Like 'Win 2003 R2' And
upgrade_Web40OSName.OSname Not Like '%2008%' And
upgrade_Web40OSName.OSname Not Like '%2012%' And
upgrade_Web40OSName.OSname Not Like '%Win 8%'
Order By upgrade_tblComputers.Computer
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now