→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎09-19-2018 02:34 PM
‎09-19-2018 03:52 PM
‎09-19-2018 03:38 PM
‎09-19-2018 02:42 PM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.Description,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Location,
tsysIPLocations.IPLocation,
tsysOS.OSname As OS,
tblAssets.Version,
tblAssets.SP As SP,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried,
Case
When tblAssets.Version In ('1507', '1511', '1607') Then 'red'
When GetDate() > '09/10/2018' And tblAssets.Version = '1703' Then 'red'
When GetDate() > '09/04/2019' And tblAssets.Version = '1709' Then 'red'
When GetDate() > '12/11/2019' And tblAssets.Version = '1803' Then 'red'
When GetDate() > '09/09/2018' And GetDate() < '09/10/2018' And
tblAssets.Version = '1703' Then 'green'
When GetDate() > '09/03/2019' And GetDate() < '09/04/2019' And
tblAssets.Version = '1709' Then 'green'
When GetDate() > '12/10/2019' And GetDate() < '12/11/2019' And
tblAssets.Version = '1803' Then 'green'
Else '#008000'
End As foregroundcolor
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Where tsysOS.OSname = 'Win 10' And tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now