‎02-16-2017 07:38 PM
Solved! Go to Solution.
‎02-28-2017 01:39 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblADGroups.Name as [AD Group],
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Left Join tblADObjects On tblADObjects.ADObjectID = tblADComputers.ADObjectID
And tblADObjects.ADObjectID = tblADComputers.ManagerADObjectId
Left Join tblADGroups On tblADObjects.ADObjectID =
tblADGroups.ManagerADObjectId And tblADObjects.ADObjectID =
tblADGroups.ADObjectID
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblADGroups.Name Like '%yourADgroup %' And tblSoftwareUni.softwareName Like
'%flash player%' And tblAssetCustom.State = 1
‎02-28-2017 07:47 PM
‎02-28-2017 01:39 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblADGroups.Name as [AD Group],
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Left Join tblADObjects On tblADObjects.ADObjectID = tblADComputers.ADObjectID
And tblADObjects.ADObjectID = tblADComputers.ManagerADObjectId
Left Join tblADGroups On tblADObjects.ADObjectID =
tblADGroups.ManagerADObjectId And tblADObjects.ADObjectID =
tblADGroups.ADObjectID
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblADGroups.Name Like '%yourADgroup %' And tblSoftwareUni.softwareName Like
'%flash player%' And tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now