
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2015 04:53 PM
We had a report that would list the software installed on a group of computers, and the group had been defined as a static group 'Company Workstations'. We now have Lansweeper 5.2.0.22 installed, and I deleted the static group and created a dynamic group with the same name, but the report below now returns no data. Can a dynamic group be used with a report such as below?
Thanks,
Jeff
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssets.Domain,
tblAssets.Username,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion,
tblSoftwareUni.SoftwarePublisher,
tblAssets.Lastseen,
tblADComputers.OU
From tblAssets
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Inner Join tblAssetGroupLink On tblAssets.AssetID = tblAssetGroupLink.AssetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblAssetGroupLink.AssetGroupID
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Where tblAssetGroups.AssetGroup Like 'Company Workstations%'
Thanks,
Jeff
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssets.Domain,
tblAssets.Username,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion,
tblSoftwareUni.SoftwarePublisher,
tblAssets.Lastseen,
tblADComputers.OU
From tblAssets
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Inner Join tblAssetGroupLink On tblAssets.AssetID = tblAssetGroupLink.AssetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblAssetGroupLink.AssetGroupID
Inner Join tblADComputers On tblAssets.AssetID = tblADComputers.AssetID
Where tblAssetGroups.AssetGroup Like 'Company Workstations%'
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2015 12:29 PM
No, dynamic asset groups cannot be queried by name. A similar question was asked here. Dynamic group members aren't stored in the database, as they're constantly subject to change. The group members are only loaded when you open a dynamic group page within the web console.
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2015 05:56 PM
Thanks, with the link to the other question I was able to use a workaround as you mentioned. My dynamic group was looking for workstations, and that were in a specific OU, so I have the report using those two items now instead of a group membership to accomplish the same thing.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2015 12:29 PM
No, dynamic asset groups cannot be queried by name. A similar question was asked here. Dynamic group members aren't stored in the database, as they're constantly subject to change. The group members are only loaded when you open a dynamic group page within the web console.
