‎03-26-2015 03:31 PM
Solved! Go to Solution.
‎03-27-2015 04:46 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblVideoController
On tblAssets.AssetID = tblVideoController.AssetID
Inner Join (Select Count(tblVideoController.Win32_VideoControllerid)
As [number video controllers],
tblVideoController.AssetID
From tblVideoController
Group By tblVideoController.AssetID) tCount On tCount.AssetID =
tblAssets.AssetID
Where tblAssetCustom.State = 1 And tCount.[number video controllers] = 1 And
tblVideoController.Caption Like '%dameware%'
Order By tblAssets.AssetName
‎03-31-2015 12:19 AM
‎03-27-2015 04:46 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblVideoController
On tblAssets.AssetID = tblVideoController.AssetID
Inner Join (Select Count(tblVideoController.Win32_VideoControllerid)
As [number video controllers],
tblVideoController.AssetID
From tblVideoController
Group By tblVideoController.AssetID) tCount On tCount.AssetID =
tblAssets.AssetID
Where tblAssetCustom.State = 1 And tCount.[number video controllers] = 1 And
tblVideoController.Caption Like '%dameware%'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now