Thanks, that works great!
...however, I did realize I need one more qualifier, the report should only include workstations (so no servers). I thought this would be a simple addition, but after looking at the pre-made reports that only return workstations (like Workstation: All workstations) I have no idea how the search is limited to those.
I tried taking the relative parts from the report Workstation: All workstations and got this:
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tsysOS.OSname,
tblAssets.Description,
tblComputersystem.Lastchanged,
tsysOS.Image As icon
From tblComputersystem
Inner Join tblAssets On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblADComputers On tblADComputers.AssetID = tblAssets.AssetID
Where tblAssets.AssetID In (Select tblSoftware.AssetID
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
tblSoftware.softID
Where tblSoftwareUni.softwareName Like 'Program%') And tblAssetCustom.State = 1
And tblADComputers.ADObjectID Not In (Select tblADMembership.ChildAdObjectID
From tblADMembership Inner Join tblADGroups On tblADGroups.ADObjectID =
tblADMembership.ParentAdObjectID
Where tblADGroups.Name = 'ADGroup' And tblComputersystem.Domainrole < 2 And
tblAssetCustom.State = 1)
Order By tblAssets.AssetName
but it still has servers included. What am I missing?