‎03-05-2019 11:52 AM
Select Distinct Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tblAssets1.AssetName As Host,
tblVmwareGuestSnapShots.Name,
tblVmwareGuestSnapShots.InternalKey,
tblVmwareGuestSnapShots.CreateTime,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblVmwareGuest On tblAssets.AssetID = tblVmwareGuest.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tblVmwareInfo On tblVmwareGuest.HostID = tblVmwareInfo.VmwareID
Left Join tblAssets tblAssets1 On tblAssets1.AssetID = tblVmwareInfo.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblVmwareGuestSnapShots On tblVmwareGuest.GuestID =
tblVmwareGuestSnapShots.GuestID
Where tblState.Statename = 'Active'
Order By tblAssets.AssetName,
tblVmwareGuestSnapShots.CreateTime
‎11-01-2019 07:59 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now