‎11-21-2014 08:45 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblVmwareInfo.Version,
tblVmwareInfo.BiosVersion,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblVmwareGuest.Name,
tblVmwareGuest.IsRunning
From tblAssetCustom
Inner Join (tblVmwareGuest
Inner Join tblAssets On tblVmwareGuest.AssetID = tblAssets.AssetID)
On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblVmwareInfo On tblVmwareInfo.AssetID = tblAssets.AssetID
Where (Case When tblVmwareGuest.ToolsVersionStatus = 3 Then 'Not installed'
End) = 'Not installed' And tblState.Statename = 'Active'
Order By tblAssets.IPNumeric,
tblAssets.AssetName,
tblVmwareGuest.Name
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now