SCCM SQL query to report the number of updates installed on each machine

Posted on 2015-02-20
Last Modified: 2015-02-25
Hi guys, does anyone have a query that will count the number of windows updates installed on every machine?
Question by:amaru96
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 50

Accepted Solution

Vitor Montalvão earned 500 total points
ID: 40630872
I've found the following SELECT in this article:
SELECT COMP.Name0 AS 'Machine Name', COMP.UserName0 AS 'Username', COMP.Manufacturer0 AS 'Make', COMP.Model0 AS 'Model', 
COMP.SystemType0 AS 'Architecture', COMP.TotalPhysicalMemory0/1024 AS 'RAM', 
ARP.Publisher0 AS 'Publisher', ARP.DisplayName0 AS 'Program', ARP.Version0 AS 'Version', 
ARP.InstallDate0 AS 'Install Date', ARP.ProdID0 AS 'Product ID'
FROM v_Add_Remove_Programs ARP 

Open in new window


Author Comment

ID: 40632059
Thanks Vitor, I can make it work from that.

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question