Quantcast
Channel: ConfigMgr – Adam, the Automator
Viewing all articles
Browse latest Browse all 19

SCCM Admins: A Simple Installed Software Query

$
0
0

The most frequent piece of client information I have to retrieve from SCCM on a regular basis is installed software. The requests are typically nothing formal. Myself or others just want to get a rough number on how many clients have X software installed or to just eyeball the client names. Queries are a great solution to this problem. They provide a quick method to query information out of the SCCM database.

I built this query some time ago that’s been used hundreds of time so if I’m using it so much I figured the SCCM community could get some use out of it as well.

This query mostly uses the Installed Software class. However, I also tap into the Operating System and System Resource classes to display client name and OS information. Since I was frequently getting questions like “How recent is this information?” I also added the Last Hardware Scan time from the Workstation Status class to show the timestamp.

When run, the query prompts for a collection.

Screen Shot 2014-12-01 at 1.24.04 PM

Since the software names are different every time I then force the user to input the software title. Use your typical WQL syntax here. This is a query for the software title that’s in the Installed Software WMI class’s ARPDisplayname attribute.

Screen Shot 2014-12-01 at 1.24.39 PM

Finally, here’s the sample output you’ll receive. You can see that you get a nice summary of the clients that matched your software query.

Screen Shot 2014-12-01 at 1.26.17 PM

I could provide you with the query to do this but this is an automation blog so I just exported out the query as a MOF file which allows you to simply right click on the Queries node in your SCCM console and import it from there. Download the MOF here, import and away you go!

The post SCCM Admins: A Simple Installed Software Query appeared first on Adam the Automator.


Viewing all articles
Browse latest Browse all 19

Trending Articles