
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2015 10:19 AM
This report is for list all active directory group scan by lansweeper and made hyperlink for group detail.
Replace "mylansweeperserver" by the name of your Lansweeper server (and the port of the web console in case it isn't port 80).
Select Top 1000000 tblADGroups.Name As hyperlink_name_Group,
'http://mylansweeperserver/report.aspx?det=web50usersbyadgroup&title=Active%20Directory%20group:%20'
+ tblADGroups.Name + '&@id=' + Cast(tblADGroups.ADObjectID As nvarchar) As hyperlink_Group,
tblADGroups.Description,
tblADGroups.LastChanged
From tblADGroups
Order By hyperlink_name_Group
Replace "mylansweeperserver" by the name of your Lansweeper server (and the port of the web console in case it isn't port 80).
Labels:
- Labels:
-
Finished Reports
-
Report Center
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2024 11:07 PM
I keep getting
This site can’t be reached Check if there is a typo in ls.
DNS_PROBE_FINISHED_NXDOMAIN
When I click on any of the group links to see who is all in them
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2024 03:52 AM
You have to change server name in URL to your own.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2015 03:28 PM
@Mister Nobody: I changed your report as well to make it compatible to SQL Compact which does not support the IsNull function.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2015 11:40 AM
Our variant has counter with users and subgroups and pre-Windows 2000 groups handler:
Select Top 1000000 Coalesce(tblADGroups.Name, tblADObjects.sAMAccountName,
'unknown') hyperlink_name_Group,
'http://ls/report.aspx?det=web50usersbyadgroup&title=Active%20Directory%20group:%20'
+ Coalesce(tblADGroups.Name, tblADObjects.sAMAccountName, 'unknown')
+ '&@id=' + Cast(tblADGroups.ADObjectID As nvarchar) As hyperlink_Group,
tblADGroups.Description,
tblADGroups.LastChanged,
Count(tblADMembership.ChildAdObjectID) counter
From tblADGroups
Inner Join tblADObjects On tblADObjects.ADObjectID = tblADGroups.ADObjectID
Inner Join tblADMembership On tblADObjects.ADObjectID =
tblADMembership.ParentAdObjectID
Group By tblADGroups.Description,
tblADGroups.LastChanged,
tblADObjects.sAMAccountName,
tblADGroups.Name,
tblADGroups.ADObjectID
Order By hyperlink_name_Group
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2015 01:07 PM
Thank you for the contribution, boupjof. I did replace the varchar entry in your report with nvarchar, as SQL Compact databases don't recognize varchar values. They only support nvarchar.
