SCCM 2007 Software Report

Hello Experts!!

SCCM 2007

I created the below report to get 'main' software (not to include updates/drivers/service packs/etc).

The report is working.  It shows a list of software/publisher, the version, and a count of each version.  

I would like to also 1) add a prompt for which collection to run the report on and 2) be able to drill down in the report to show the computer names for each software listed.  I'm not sure how to add these two things into my report.  I think it's an inner join but I'm not very good with those.

Can you help me?


select DisplayName0, Count(*) AS 'Count', Publisher0, Version0
from v_Add_Remove_Programs
WHERE DisplayName0 not like '%Update%'
and DisplayName0 not like '%Hotfix%'
and DisplayName0 not like 'CCC%'
and DisplayName0 not like '%Add-In%'
and DisplayName0 not like '%Redistributable%'
and DisplayName0 not like '%Driver%'
and DisplayName0 not like '%Extention%'
and DisplayName0 not like '%Softpaq%'
and Publisher0 not like 'Logitech%'
and Publisher0 not like 'Lexmark%'
and Publisher0 not like 'Konica%'
GROUP BY DisplayName0, Publisher0, Version0
ORDER BY Publisher0, Version0
IrrylynAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Benjamin VoglarIT ProCommented:
Hi.

Here you are a manual how to make a selectable collection report:

http://it.peikkoluola.net/2013/06/02/report-with-a-selectable-collection-parameter-sql/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.