→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
d_i_saunders
Engaged Sweeper III
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?

thanks
1 ACCEPTED SOLUTION
Hemoco
Lansweeper Alumni
Unrated software
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
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
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

View solution in original post

2 REPLIES 2
nhouse24
Engaged Sweeper II
THANK YOU
Hemoco
Lansweeper Alumni
Unrated software
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
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
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

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now