‎10-02-2019 09:59 PM
‎10-07-2019 02:50 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tsysOS.OSname,
tblAssets.Domain,
tsysIPLocations.IPLocation,
Case
When filelookup.Found = 1 Then 'Yes'
When filelookup.Found = 0 Then 'Not Found'
Else 'Not scanned'
End As [Has DrAService.exe],
tblAssets.Lastseen
From tblAssets
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblComputersystem On tblComputersystem.AssetID = tblAssets.AssetID
Left Join (Select tblFileVersions.AssetID,
tblFileVersions.Found,
tblFileVersions.FilePathfull,
tblFileVersions.FileVersion,
tblFileVersions.CompanyName,
tblFileVersions.Filesize,
tblFileVersions.Lastchanged
From tblFileVersions
Where tblFileVersions.FilePathfull Like '%Full Disk Encryption\DrAService.exe%') filelookup On
tblAssets.AssetID = filelookup.AssetID
Left Join tsysIPLocations On tsysIPLocations.StartIP <= tblAssets.IPNumeric
And tsysIPLocations.EndIP >= tblAssets.IPNumeric
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Where tsysAssetTypes.AssetTypename =
'windows' And tblAssetCustom.State = 1
Order By tblAssets.AssetName
‎10-03-2019 08:45 PM
‎10-03-2019 08:39 PM
Where
tblAssets.AssetID Not In (SELECT
tblServices.AssetID
FROM
tblProcesses
WHERE
tblProcesses.Caption Like '%DrAService.exe%')
‎10-03-2019 07:25 PM
‎10-02-2019 10:37 PM
Select Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysOS.OSname As OS,
tblAssets.OScode + '.' + tblAssets.BuildNumber As Build,
tblAssets.Version As [OS Version],
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblAssets.Assettype
From
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where
tblAssets.AssetID Not In (SELECT
tblServices.AssetID
FROM
tblServices
Inner Join tblServiceState On tblServiceState.StateID = tblServices.StateID
Inner Join tblServicesUni On tblServicesUni.ServiceuniqueID = tblServices.ServiceuniqueID
WHERE
tblServicesUni.Name Like '%DrAService%')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now