‎03-05-2019 11:46 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tsysOS.OSname As OS,
tblAssets.Memory,
tblAssets.Processor,
tblCitrixPool.Name As Pool,
tblCitrixGuest.Name As Guest,
tblCitrixGuest.Memory As CitrixGuestMemory,
tblCitrixGuest.Description,
tblCitrixGuest.CpuCount,
tblCitrixGuest.State,
tblCitrixGuest.LastUpdated,
tblAssets.Firstseen,
tblAssets.Lastseen
From tblCitrixHost
Inner Join tblAssets On tblAssets.AssetID = tblCitrixHost.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblCitrixGuest On tblCitrixGuest.HostId = tblCitrixHost.HostId
Inner Join tblCitrixPool On tblCitrixPool.PoolId = tblCitrixHost.PoolId
Left Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblState.Statename = 'Active'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now