Notification

Icon
Error

Summary report for software

Posted: Friday, October 4, 2013 11:04:10 AM(UTC)
d.i.saunders

d.i.saunders

Member Original PosterPosts: 99
2
Like
This issue has been solved! Click here to view the solution
Hi,

I'm looking for a report to show the summary of software.

The data i'm looking for is identical to the data displayed on the Software Authorization view in lansweeper... Just need these as 3 different reports

Eg:

Report 1
Allowed software:
(Applications name) (Publisher) (number of installs)

Report 2
Denied software:
(Applications name) (Publisher) (number of installs)

Report 3
Denied software:
(Applications name) (Publisher) (number of installs)

any one got the code for this?

thanksDancing
Lansweeper
#1Lansweeper Member Posts: 13,442  
posted: 10/4/2013 4:55:04 PM(UTC)
Unrated software
Quote:
Select Top 1000000 tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher,
Count(tblSoftware.AssetID) As Installs
From tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.Approved = 0
Group By tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher
Order By tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher

Denied software
Quote:
Select Top 1000000 tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher,
Count(tblSoftware.AssetID) As Installs
From tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.Approved = 2
Group By tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher
Order By tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher

Approved software
Quote:
Select Top 1000000 tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher,
Count(tblSoftware.AssetID) As Installs
From tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.Approved = 1
Group By tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher
Order By tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher
nhouse24
#2nhouse24 Member Posts: 6  
posted: 10/29/2019 6:11:11 PM(UTC)
THANK YOU

Active Discussions

Lansweeper try to scan for software license and not working?
by  rader   Go to last post Go to first unread
Last post: Today at 4:25:37 PM(UTC)
Lansweeper LsAgent uninstalled itself (Windows 10 Enterprise)
by  LsUsers70  
Go to last post Go to first unread
Last post: Today at 3:05:37 PM(UTC)
Lansweeper Deploying PowerShell script
by  FreddieIT   Go to last post Go to first unread
Last post: Today at 10:57:34 AM(UTC)
Lansweeper Deploy package - add registry key to HKCU
by  Bginchereau  
Go to last post Go to first unread
Last post: Yesterday at 5:26:16 PM(UTC)
Lansweeper Duplicate Items
by  Tim Van Engeland   Go to last post Go to first unread
Last post: Yesterday at 2:46:32 PM(UTC)
Lansweeper Latest LsAgent version for Windows?
by  mg83  
Go to last post Go to first unread
Last post: Yesterday at 11:07:51 AM(UTC)
Lansweeper Exchange scanning
by  brama   Go to last post Go to first unread
Last post: Yesterday at 8:56:01 AM(UTC)